Uses of Interface
ratpack.core.http.client.HttpClient
-
Packages that use HttpClient Package Description ratpack.core.http.client The HTTP client.ratpack.core.sse.client ratpack.retrofit Integration with Retrofit. -
-
Uses of HttpClient in ratpack.core.http.client
Methods in ratpack.core.http.client that return HttpClient Modifier and Type Method Description HttpClient
HttpClient. copyWith(Action<? super HttpClientSpec> action)
Create a new HttpClient by appending the provided configuration to this client.static HttpClient
HttpClient. of(Action<? super HttpClientSpec> action)
Creates a new HTTP client. -
Uses of HttpClient in ratpack.core.sse.client
Methods in ratpack.core.sse.client with parameters of type HttpClient Modifier and Type Method Description static ServerSentEventClient
ServerSentEventClient. of(HttpClient httpClient)
Creates a client that uses the given HTTP client. -
Uses of HttpClient in ratpack.retrofit
Method parameters in ratpack.retrofit with type arguments of type HttpClient Modifier and Type Method Description RatpackRetrofit.Builder
RatpackRetrofit.Builder. httpClient(Factory<? extends HttpClient> clientFactory)
Configures aFactory
that supplies the underlyingHttpClient
to back client interfaces generated from the return ofRatpackRetrofit.Builder.retrofit()
-