| java.lang.Object | |
| ↳ | com.ning.http.client.AsyncHttpClientConfig |
Known Direct Subclasses
|
Configuration class to use with a AsyncHttpClient. System property can be also used to configure this
object default behavior by doing:
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AsyncHttpClientConfig.Builder | Builder for an AsyncHttpClient
|
||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | ASYNC_CLIENT | ||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the java.util.concurrent.ExecutorService an
AsyncHttpClient use for handling
asynchronous response. | |||||||||||
Is the
ConnectionsPool support enabled. | |||||||||||
Return the
AsyncHttpProviderConfig | |||||||||||
Return the maximum time in millisecond an
AsyncHttpClient can wait when connecting to a remote host | |||||||||||
Return an instance of
ConnectionsPool | |||||||||||
Return the HostnameVerifier
| |||||||||||
Return the list of java.io.IOException
| |||||||||||
Return the maximum time in millisecond an
AsyncHttpClient will keep connection
in pool. | |||||||||||
Return the maximum time in millisecond an
AsyncHttpClient can stay idle. | |||||||||||
This method is deprecated.
- Use
getAllowPoolingConnection()
| |||||||||||
Return the maximum number of connections per hosts an
AsyncHttpClient can handle. | |||||||||||
Get the maximum number of HTTP redirect
| |||||||||||
Return the number of time the library will retry when an java.io.IOException is throw by the remote server
| |||||||||||
Return the maximum number of connections an
AsyncHttpClient can handle. | |||||||||||
An instance of
ProxyServer used by an AsyncHttpClient | |||||||||||
Return the current
Realm} | |||||||||||
Return the compression level, or -1 if no compression is used.
| |||||||||||
Return the list of
RequestFilter | |||||||||||
Return the maximum time in millisecond an
AsyncHttpClient wait for a response | |||||||||||
Return the list of
ResponseFilter | |||||||||||
Return an instance of SSLContext used for SSL connection.
| |||||||||||
Return an instance of
SSLEngineFactory used for SSL connection. | |||||||||||
Return the USER_AGENT header value
| |||||||||||
Return the maximum time, in milliseconds, a
WebSocket may be idle before being timed out. | |||||||||||
Return true if one of the java.util.concurrent.ExecutorService has been shutdown.
| |||||||||||
Is HTTP compression enabled.
| |||||||||||
Is HTTP redirect enabled
| |||||||||||
Return true if the query parameters will be stripped from the request when a redirect is requested.
| |||||||||||
Return true is SSL connection polling is enabled.
| |||||||||||
In the case of a POST/Redirect/Get scenario where the server uses a 302 for the redirect, should AHC respond to the redirect with a GET or whatever the original method was. | |||||||||||
A ScheduledExecutorService used to expire idle connections.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Return the java.util.concurrent.ExecutorService an AsyncHttpClient use for handling
asynchronous response.
AsyncHttpClient use for handling
asynchronous response.
Is the ConnectionsPool support enabled.
Return the AsyncHttpProviderConfig
Return the maximum time in millisecond an AsyncHttpClient can wait when connecting to a remote host
AsyncHttpClient can wait when connecting to a remote host
Return an instance of ConnectionsPool
ConnectionsPool
Return the HostnameVerifier
Return the list of java.io.IOException
Return the maximum time in millisecond an AsyncHttpClient will keep connection
in pool.
AsyncHttpClient will keep connection
in pool.
Return the maximum time in millisecond an AsyncHttpClient can stay idle.
AsyncHttpClient can stay idle.
This method is deprecated.
- Use getAllowPoolingConnection()
Is the ConnectionsPool support enabled.
Return the maximum number of connections per hosts an AsyncHttpClient can handle.
AsyncHttpClient can handle.
Get the maximum number of HTTP redirect
Return the number of time the library will retry when an java.io.IOException is throw by the remote server
Return the maximum number of connections an AsyncHttpClient can handle.
AsyncHttpClient can handle.
An instance of ProxyServer used by an AsyncHttpClient
ProxyServer
Return the compression level, or -1 if no compression is used.
Return the list of RequestFilter
ResponseFilter
Return the maximum time in millisecond an AsyncHttpClient wait for a response
AsyncHttpClient wait for a response
Return the list of ResponseFilter
ResponseFilter
Return an instance of SSLContext used for SSL connection.
Return an instance of SSLEngineFactory used for SSL connection.
SSLEngineFactory used for SSL connection.
Return the USER_AGENT header value
Return true if one of the java.util.concurrent.ExecutorService has been shutdown.
Is HTTP compression enabled.
Is HTTP redirect enabled
Return true if the query parameters will be stripped from the request when a redirect is requested.
Return true is SSL connection polling is enabled. Default is true.
In the case of a POST/Redirect/Get scenario where the server uses a 302 for the redirect, should AHC respond to the redirect with a GET or whatever the original method was. Unless configured otherwise, for a 302, AHC, will use a GET for this case.
true if string 302 handling is to be used,
otherwise false.A ScheduledExecutorService used to expire idle connections.