static HttpClientContext.Builder |
HttpClientContext.newBuilder() |
Return the builder to config and build the client context.
|
HttpClientContext.Builder |
HttpClientContext.Builder.with(HttpClient client) |
Set the underlying HttpClient to use.
|
HttpClientContext.Builder |
HttpClientContext.Builder.withBaseUrl(String baseUrl) |
Set the base URL to use for requests created from the context.
|
HttpClientContext.Builder |
HttpClientContext.Builder.withBodyAdapter(BodyAdapter adapter) |
Set the body adapter to use to convert beans to body content
and response content back to beans.
|
HttpClientContext.Builder |
HttpClientContext.Builder.withCookieHandler(CookieHandler cookieHandler) |
Specify a cookie handler to use on the HttpClient.
|
HttpClientContext.Builder |
HttpClientContext.Builder.withRequestTimeout(Duration requestTimeout) |
Set the default request timeout.
|
HttpClientContext.Builder |
HttpClientContext.Builder.withResponseListener(ResponseListener requestListener) |
Add a response listener.
|