- get() - Method in interface ratpack.test.http.TestHttpClient
-
Make a GET request with a path of "" this is the same as calling get("").
- get(String) - Method in interface ratpack.test.http.TestHttpClient
-
Make a GET request to the specified path.
- getAddress() - Method in interface ratpack.test.ApplicationUnderTest
-
The address of the application under test, which is guaranteed to be listening for requests.
- getAddress() - Method in interface ratpack.test.embed.EmbeddedApp
-
The address of the application under test, which is guaranteed to be listening for requests.
- getAddress() - Method in class ratpack.test.ServerBackedApplicationUnderTest
-
Returns the address to the root of the server, starting it if necessary.
- getApplicationUnderTest() - Method in interface ratpack.test.http.TestHttpClient
-
- getBodyBytes() - Method in interface ratpack.test.handling.HandlingResult
-
The response body, as bytes.
- getBodyText() - Method in interface ratpack.test.handling.HandlingResult
-
The response body, interpreted as a utf8 string.
- getClientError() - Method in interface ratpack.test.handling.HandlingResult
-
The client error raised if any, unless a custom client error handler is in use.
- getController() - Method in interface ratpack.test.exec.ExecHarness
-
- getCookies(String) - Method in interface ratpack.test.http.TestHttpClient
-
Get cookies with Path= attribute equal to path and all its subpaths.
- getHeaders() - Method in interface ratpack.test.handling.HandlingResult
-
The final response headers.
- getHttpClient() - Method in interface ratpack.test.ApplicationUnderTest
-
Creates a new test HTTP client that makes requests to this application.
- getRegistry() - Method in interface ratpack.test.handling.HandlingResult
-
The final state of the context registry.
- getRegistry() - Method in interface ratpack.test.handling.RequestFixture
-
A specification of the context registry.
- getRequestRegistry() - Method in interface ratpack.test.handling.HandlingResult
-
The final state of the request registry.
- getResponse() - Method in interface ratpack.test.http.TestHttpClient
-
- getRoot() - Method in interface ratpack.test.embed.EphemeralBaseDir
-
The root of the base dir.
- getSentFile() - Method in interface ratpack.test.handling.HandlingResult
-
Indicates whether the result of invoking the handler was that it invoked one of the Response.sendFile(java.nio.file.Path) methods.
- getServer() - Method in interface ratpack.test.embed.EmbeddedApp
-
The server for the application.
- getStatus() - Method in interface ratpack.test.handling.HandlingResult
-
The response status information.
- getText() - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a GET request then calling ReceivedResponse.getBody() then TypedData.getText().
- getText(String) - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a GET request then calling ReceivedResponse.getBody() then TypedData.getText().
- params(Action<? super ImmutableMultimap.Builder<String, Object>>) - Method in interface ratpack.test.http.TestHttpClient
-
- patch() - Method in interface ratpack.test.http.TestHttpClient
-
Make a PATCH request with a path of "" this is the same as calling patch("").
- patch(String) - Method in interface ratpack.test.http.TestHttpClient
-
Make a PATCH request to the specified path.
- patchText() - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a PATCH request then calling ReceivedResponse.getBody() then TypedData.getText().
- patchText(String) - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a PATCH request then calling ReceivedResponse.getBody() then TypedData.getText().
- path(String) - Method in interface ratpack.test.embed.EphemeralBaseDir
-
Returns a path for the given path within the base dir.
- pathBinding(Map<String, String>) - Method in interface ratpack.test.handling.RequestFixture
-
Adds a path binding, with the given path tokens.
- pathBinding(String, String, Map<String, String>) - Method in interface ratpack.test.handling.RequestFixture
-
Adds a path binding, with the given path tokens and parts.
- post() - Method in interface ratpack.test.http.TestHttpClient
-
Make a POST request with a path of "" this is the same as calling post("").
- post(String) - Method in interface ratpack.test.http.TestHttpClient
-
Make a POST request to the specified path.
- postText() - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a POST request then calling ReceivedResponse.getBody() then TypedData.getText().
- postText(String) - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a POST request then calling ReceivedResponse.getBody() then TypedData.getText().
- protocol(String) - Method in interface ratpack.test.handling.RequestFixture
-
Set the HTTP protocol for the request.
- put() - Method in interface ratpack.test.http.TestHttpClient
-
Make a PUT request with a path of "" this is the same as calling put("").
- put(String) - Method in interface ratpack.test.http.TestHttpClient
-
Make a PUT request to the specified path.
- putText() - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a PUT request then calling ReceivedResponse.getBody() then TypedData.getText().
- putText(String) - Method in interface ratpack.test.http.TestHttpClient
-
A convenience method for doing a PUT request then calling ReceivedResponse.getBody() then TypedData.getText().