| Package | Description |
|---|---|
| com.atlassian.marketplace.client.http |
Interfaces and classes related to the HTTP transport layer.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpConfiguration.Builder |
HttpConfiguration.builder()
Returns a new
HttpConfiguration.Builder for constructing an HttpConfiguration instance. |
HttpConfiguration.Builder |
HttpConfiguration.Builder.connectTimeoutMillis(Integer connectTimeoutMillis)
Sets the length of time to wait for a connection before timing out.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.credentials(io.atlassian.fugue.Option<HttpConfiguration.Credentials> credentials)
Sets a username and password for basic authentication.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.maxCacheEntries(int maxCacheEntries)
Sets the maximum number of HTTP responses that will be stored in the HTTP cache at a time.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.maxCacheObjectSize(long maxCacheObjectSize)
Sets the maximum size of HTTP responses that can be stored in the HTTP cache.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.maxConnections(int maxConnections)
Sets the maximum number of simultaneous HTTP connections the client can make to the server.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.maxRedirects(io.atlassian.fugue.Option<Integer> maxRedirects)
Sets the maximum number of redirects that will be automatically followed.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.proxyConfiguration(io.atlassian.fugue.Option<HttpConfiguration.ProxyConfiguration> proxy)
Sets HTTP proxy server parameters.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.readTimeoutMillis(Integer readTimeoutMillis)
Sets the length of time to wait for a server response before timing out.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.requestDecorator(io.atlassian.fugue.Option<RequestDecorator> requestDecorator)
Specifies an object that can provide custom headers for HTTP requests, e.g.
|
Copyright © 2019 Atlassian. All rights reserved.