Uses of Interface
ratpack.core.http.client.ReceivedResponse
-
Packages that use ReceivedResponse Package Description ratpack.core.http.client The HTTP client.ratpack.retrofit Integration with Retrofit.ratpack.test.http Test fixtures that provide HTTP client interfaces to applications under test. -
-
Uses of ReceivedResponse in ratpack.core.http.client
Methods in ratpack.core.http.client that return types with arguments of type ReceivedResponse Modifier and Type Method Description default Promise<ReceivedResponse>
HttpClient. get(URI uri)
Promise<ReceivedResponse>
HttpClient. get(URI uri, Action<? super RequestSpec> action)
An asynchronous method to do a GET HTTP request, the URL and all details of the request are configured by the Action acting on the RequestSpec, but the method will be defaulted to a GET.Promise<ReceivedResponse>
HttpClient. post(URI uri, Action<? super RequestSpec> action)
An asynchronous method to do a POST HTTP request, the URL and all details of the request are configured by the Action acting on the RequestSpec, but the method will be defaulted to a POST.Promise<ReceivedResponse>
HttpClient. request(URI uri, Action<? super RequestSpec> action)
An asynchronous method to do a HTTP request, the URL and all details of the request are configured by the Action acting on the RequestSpec.Method parameters in ratpack.core.http.client with type arguments of type ReceivedResponse Modifier and Type Method Description RequestSpec
RequestSpec. onRedirect(Function<? super ReceivedResponse,Action<? super RequestSpec>> function)
Specifies a function to invoke when a redirectable response is received. -
Uses of ReceivedResponse in ratpack.retrofit
Methods in ratpack.retrofit that return ReceivedResponse Modifier and Type Method Description ReceivedResponse
RatpackRetrofitCallException. getResponse()
Get the underlying response that resulted in the exception for this HTTP request. -
Uses of ReceivedResponse in ratpack.test.http
Methods in ratpack.test.http that return ReceivedResponse Modifier and Type Method Description ReceivedResponse
TestHttpClient. delete()
Make a DELETE request with a path of "" this is the same as calling delete("").ReceivedResponse
TestHttpClient. delete(String path)
Make a DELETE request to the specified path.ReceivedResponse
TestHttpClient. get()
Make a GET request with a path of "" this is the same as calling get("").ReceivedResponse
TestHttpClient. get(String path)
Make a GET request to the specified path.ReceivedResponse
TestHttpClient. getResponse()
Retrieve the response from the last request made by this client.ReceivedResponse
TestHttpClient. head()
Make a HEAD request with a path of "" this is the same as calling head("").ReceivedResponse
TestHttpClient. head(String path)
Make a HEAD request to the specified path.ReceivedResponse
TestHttpClient. options()
Make a OPTIONS request with a path of "" this is the same as calling options("").ReceivedResponse
TestHttpClient. options(String path)
Make a OPTIONS request to the specified path.ReceivedResponse
TestHttpClient. patch()
Make a PATCH request with a path of "" this is the same as calling patch("").ReceivedResponse
TestHttpClient. patch(String path)
Make a PATCH request to the specified path.ReceivedResponse
TestHttpClient. post()
Make a POST request with a path of "" this is the same as calling post("").ReceivedResponse
TestHttpClient. post(String path)
Make a POST request to the specified path.ReceivedResponse
TestHttpClient. put()
Make a PUT request with a path of "" this is the same as calling put("").ReceivedResponse
TestHttpClient. put(String path)
Make a PUT request to the specified path.ReceivedResponse
TestHttpClient. request(String path, Action<? super RequestSpec> requestAction)
Executes the request as specified by the providedRequestSpec
against the provided path.ReceivedResponse
TestHttpClient. request(Action<? super RequestSpec> requestAction)
Executes the request as specified by the providedRequestSpec
.
-