WebClient.Builder |
WebClient.Builder.addCookie(String name,
String value) |
Add a default cookie.
|
WebClient.Builder |
WebClient.Builder.addHeader(String header,
String... value) |
Add a default header (such as accept).
|
WebClient.Builder |
WebClient.Builder.addMediaSupport(MediaSupport mediaSupport) |
|
WebClient.Builder |
WebClient.Builder.addReader(MessageBodyReader<?> reader) |
|
WebClient.Builder |
WebClient.Builder.addService(WebClientService service) |
|
WebClient.Builder |
WebClient.Builder.addService(Supplier<? extends WebClientService> serviceSupplier) |
|
WebClient.Builder |
WebClient.Builder.addStreamReader(MessageBodyStreamReader<?> streamReader) |
|
WebClient.Builder |
WebClient.Builder.addStreamWriter(MessageBodyStreamWriter<?> streamWriter) |
|
WebClient.Builder |
WebClient.Builder.addWriter(MessageBodyWriter<?> writer) |
|
WebClient.Builder |
WebClient.Builder.baseUri(String uri) |
Sets base uri for each request.
|
WebClient.Builder |
WebClient.Builder.baseUri(URI uri) |
Sets base uri for each request.
|
WebClient.Builder |
WebClient.Builder.baseUri(URL url) |
Sets base url for each request.
|
static WebClient.Builder |
WebClient.builder() |
Fluent API builder for client.
|
WebClient.Builder |
WebClient.Builder.config(Config config) |
Config of this client.
|
WebClient.Builder |
WebClient.Builder.connectTimeout(long amount,
TimeUnit unit) |
Sets new connection timeout.
|
WebClient.Builder |
WebClient.Builder.context(Context context) |
Sets specific context which should be used in requests.
|
WebClient.Builder |
WebClient.Builder.dnsResolverType(DnsResolverType dnsResolverType) |
Set which type of DNS resolver should be used.
|
WebClient.Builder |
WebClient.Builder.enableAutomaticCookieStore(boolean enableAutomaticCookieStore) |
Set whether cookies should be automatically saved to the store.
|
WebClient.Builder |
WebClient.Builder.followRedirects(boolean follow) |
Sets if redirects should be followed or not.
|
WebClient.Builder |
WebClient.Builder.keepAlive(boolean keepAlive) |
Set whether connection to server should be kept alive after request.
|
WebClient.Builder |
WebClient.Builder.mediaContext(MediaContext mediaContext) |
|
WebClient.Builder |
WebClient.Builder.mediaTypeParserRelaxed(boolean relaxedMode) |
Configure media type parsing mode for HTTP Content-Type header.
|
WebClient.Builder |
WebClient.Builder.proxy(Proxy proxy) |
Sets new proxy which will used for the requests.
|
WebClient.Builder |
WebClient.Builder.readTimeout(long amount,
TimeUnit unit) |
Sets new read timeout.
|
WebClient.Builder |
WebClient.Builder.relativeUris(boolean relativeUris) |
Can be set to true to force the use of relative URIs in all requests,
regardless of the presence or absence of proxies or no-proxy lists.
|
WebClient.Builder |
WebClient.Builder.tls(WebClientTls webClientTls) |
Sets new WebClientTls instance which contains ssl configuration.
|
WebClient.Builder |
WebClient.Builder.userAgent(String userAgent) |
Sets user agent name.
|
WebClient.Builder |
WebClient.Builder.useSystemServiceLoader(boolean useServiceLoader) |
|
WebClient.Builder |
WebClient.Builder.validateHeaders(boolean validate) |
Whether to validate header names.
|