public class HttpConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpConfiguration.Builder
Builder class for
HttpConfiguration. |
static class |
HttpConfiguration.Credentials
A username-password pair for client authentication or proxy authentication.
|
static class |
HttpConfiguration.ProxyAuthMethod
Constants for the supported proxy authentication methods.
|
static class |
HttpConfiguration.ProxyAuthParams
Parameters for proxy authentication, instantiated only if you are using an authenticated proxy.
|
static class |
HttpConfiguration.ProxyConfiguration
Parameters for specifying an HTTP proxy.
|
static class |
HttpConfiguration.ProxyHost
Specifies the proxy hostname and port.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CONNECT_TIMEOUT_MILLIS |
static int |
DEFAULT_MAX_CACHE_ENTRIES |
static long |
DEFAULT_MAX_CACHE_OBJECT_SIZE |
static int |
DEFAULT_MAX_CONNECTIONS |
static int |
DEFAULT_READ_TIMEOUT_MILLIS |
| Modifier and Type | Method and Description |
|---|---|
static HttpConfiguration.Builder |
builder()
Returns a new
HttpConfiguration.Builder for constructing an HttpConfiguration instance. |
static HttpConfiguration |
defaults() |
boolean |
equals(Object other) |
int |
getConnectTimeoutMillis() |
com.atlassian.fugue.Option<HttpConfiguration.Credentials> |
getCredentials() |
int |
getMaxCacheEntries() |
long |
getMaxCacheObjectSize() |
int |
getMaxConnections() |
com.atlassian.fugue.Option<Integer> |
getMaxRedirects() |
com.atlassian.fugue.Option<HttpConfiguration.ProxyConfiguration> |
getProxyConfiguration() |
int |
getReadTimeoutMillis() |
com.atlassian.fugue.Option<RequestDecorator> |
getRequestDecorator() |
boolean |
hasCredentials() |
int |
hashCode() |
boolean |
hasProxy() |
String |
toString() |
public static final int DEFAULT_CONNECT_TIMEOUT_MILLIS
public static final int DEFAULT_READ_TIMEOUT_MILLIS
public static final int DEFAULT_MAX_CONNECTIONS
public static final int DEFAULT_MAX_CACHE_ENTRIES
public static final long DEFAULT_MAX_CACHE_OBJECT_SIZE
public static HttpConfiguration.Builder builder()
HttpConfiguration.Builder for constructing an HttpConfiguration instance.public static HttpConfiguration defaults()
public int getConnectTimeoutMillis()
public int getReadTimeoutMillis()
public int getMaxConnections()
public int getMaxCacheEntries()
public long getMaxCacheObjectSize()
public com.atlassian.fugue.Option<Integer> getMaxRedirects()
public com.atlassian.fugue.Option<HttpConfiguration.Credentials> getCredentials()
public boolean hasCredentials()
public com.atlassian.fugue.Option<HttpConfiguration.ProxyConfiguration> getProxyConfiguration()
public boolean hasProxy()
public com.atlassian.fugue.Option<RequestDecorator> getRequestDecorator()
Copyright © 2016 Atlassian. All rights reserved.