Package io.quarkus.test.devmode.util
Class DevModeClient
java.lang.Object
io.quarkus.test.devmode.util.DevModeClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidget()(package private) static longgetHttpErrorResponse(Supplier<String> brokenReason) getHttpResponse(String path) getHttpResponse(String path, boolean allowError) getHttpResponse(String path, boolean allowError, Supplier<String> brokenReason) getHttpResponse(String path, boolean allowError, Supplier<String> brokenReason, long timeout, TimeUnit tu) booleangetHttpResponse(String path, int expectedStatus) booleangetHttpResponse(String path, int expectedStatus, long timeout, TimeUnit tu) getHttpResponse(String path, Supplier<String> brokenReason) getHttpResponse(Supplier<String> brokenReason) booleangetStrictHttpResponse(String path, int expectedStatus) booleanstatic List<ProcessHandle>
-
Constructor Details
-
DevModeClient
public DevModeClient() -
DevModeClient
public DevModeClient(int port)
-
-
Method Details
-
getDefaultTimeout
static long getDefaultTimeout() -
killDescendingProcesses
-
filter
- Throws:
IOException
-
awaitUntilServerDown
public void awaitUntilServerDown() -
getHttpResponse
-
getHttpResponse
-
getHttpErrorResponse
-
getHttpErrorResponse
-
getHttpResponse
-
getHttpResponse
-
getHttpResponse
-
getHttpResponse
-
getHttpResponse
-
getHttpResponse
-
getHttpResponse
-
getStrictHttpResponse
-
get
- Throws:
IOException
-
get
- Throws:
IOException
-
isCode
-