Uses of Interface
ratpack.test.http.TestHttpClient
-
Packages that use TestHttpClient Package Description ratpack.test Fixtures used for testing Ratpack applications (seeApplicationUnderTest
).ratpack.test.http Test fixtures that provide HTTP client interfaces to applications under test. -
-
Uses of TestHttpClient in ratpack.test
Methods in ratpack.test that return TestHttpClient Modifier and Type Method Description default TestHttpClient
ApplicationUnderTest. getHttpClient()
Creates a new test HTTP client that makes requests to this application.Method parameters in ratpack.test with type arguments of type TestHttpClient Modifier and Type Method Description default void
CloseableApplicationUnderTest. test(Action<? super TestHttpClient> action)
Provides the given action with atest http client
for this application, then closes this application. -
Uses of TestHttpClient in ratpack.test.http
Methods in ratpack.test.http that return TestHttpClient Modifier and Type Method Description TestHttpClient
TestHttpClient. params(Action<? super com.google.common.collect.ImmutableMultimap.Builder<String,Object>> params)
Specify query parameters to be included with outgoing requests from this client.TestHttpClient
TestHttpClient. requestSpec(Action<? super RequestSpec> requestAction)
Configure the settings for outgoing requests from this client.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.
-