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 RequestSpecRequestSpec. 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 ReceivedResponseRatpackRetrofitCallException. 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 ReceivedResponseTestHttpClient. delete()Make a DELETE request with a path of "" this is the same as calling delete("").ReceivedResponseTestHttpClient. delete(String path)Make a DELETE request to the specified path.ReceivedResponseTestHttpClient. get()Make a GET request with a path of "" this is the same as calling get("").ReceivedResponseTestHttpClient. get(String path)Make a GET request to the specified path.ReceivedResponseTestHttpClient. getResponse()Retrieve the response from the last request made by this client.ReceivedResponseTestHttpClient. head()Make a HEAD request with a path of "" this is the same as calling head("").ReceivedResponseTestHttpClient. head(String path)Make a HEAD request to the specified path.ReceivedResponseTestHttpClient. options()Make a OPTIONS request with a path of "" this is the same as calling options("").ReceivedResponseTestHttpClient. options(String path)Make a OPTIONS request to the specified path.ReceivedResponseTestHttpClient. patch()Make a PATCH request with a path of "" this is the same as calling patch("").ReceivedResponseTestHttpClient. patch(String path)Make a PATCH request to the specified path.ReceivedResponseTestHttpClient. post()Make a POST request with a path of "" this is the same as calling post("").ReceivedResponseTestHttpClient. post(String path)Make a POST request to the specified path.ReceivedResponseTestHttpClient. put()Make a PUT request with a path of "" this is the same as calling put("").ReceivedResponseTestHttpClient. put(String path)Make a PUT request to the specified path.ReceivedResponseTestHttpClient. request(String path, Action<? super RequestSpec> requestAction)Executes the request as specified by the providedRequestSpecagainst the provided path.ReceivedResponseTestHttpClient. request(Action<? super RequestSpec> requestAction)Executes the request as specified by the providedRequestSpec.
-