Example usage for Java org.apache.http.client.config RequestConfig fields, constructors, methods, implement or subclass
The text is from its open source code.
RequestConfig | DEFAULT |
RequestConfig.Builder | copy(final RequestConfig config) |
RequestConfig.Builder | custom() |
int | getConnectionRequestTimeout() Returns the timeout in milliseconds used when requesting a connection from the connection manager. |
int | getConnectTimeout() Determines the timeout in milliseconds until a connection is established. |
String | getCookieSpec() Determines the name of the cookie specification to be used for HTTP state management. |
InetAddress | getLocalAddress() Returns local address to be used for request execution. |
int | getMaxRedirects() Returns the maximum number of redirects to be followed. |
HttpHost | getProxy() Returns HTTP proxy to be used for request execution. |
int | getSocketTimeout() Defines the socket timeout ( SO_TIMEOUT ) in milliseconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets). |
Collection | getTargetPreferredAuthSchemes() Determines the order of preference for supported authentication schemes when authenticating with the target host. |
boolean | isAuthenticationEnabled() Determines whether authentication should be handled automatically. |
boolean | isCircularRedirectsAllowed() Determines whether circular redirects (redirects to the same location) should be allowed. |
boolean | isExpectContinueEnabled() Determines whether the 'Expect: 100-Continue' handshake is enabled for entity enclosing methods. |
boolean | isRedirectsEnabled() Determines whether redirects should be handled automatically. |
boolean | isRelativeRedirectsAllowed() Determines whether relative redirects should be rejected. |
boolean | isStaleConnectionCheckEnabled() Determines whether stale connection check is to be used. |
String | toString() |