Package | Description |
---|---|
ratpack.test | |
ratpack.test.http |
Modifier and Type | Method and Description |
---|---|
default TestHttpClient |
ApplicationUnderTest.getHttpClient()
Creates a new test HTTP client that makes requests to this application.
|
Modifier and Type | Method and Description |
---|---|
default void |
CloseableApplicationUnderTest.test(Action<? super TestHttpClient> action)
Provides the given action with a
test http client for this application, then closes this application. |
Modifier and Type | Method and Description |
---|---|
TestHttpClient |
TestHttpClient.params(Action<? super ImmutableMultimap.Builder<java.lang.String,java.lang.Object>> params) |
TestHttpClient |
TestHttpClient.requestSpec(Action<? super RequestSpec> requestAction) |
static TestHttpClient |
TestHttpClient.testHttpClient(ApplicationUnderTest applicationUnderTest)
A method to create an instance of the default implementation of TestHttpClient.
|
static TestHttpClient |
TestHttpClient.testHttpClient(ApplicationUnderTest applicationUnderTest,
Action<? super RequestSpec> requestConfigurer)
A method to create an instance of the default implementation of TestHttpClient.
|