Java org.apache.http.client.config RequestConfig fields, constructors, methods, implement or subclass

Example usage for Java org.apache.http.client.config RequestConfig fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.http.client.config RequestConfig.

The text is from its open source code.

Field

RequestConfigDEFAULT

Constructor

Method

RequestConfig.Buildercopy(final RequestConfig config)
RequestConfig.Buildercustom()
intgetConnectionRequestTimeout()
Returns the timeout in milliseconds used when requesting a connection from the connection manager.
intgetConnectTimeout()
Determines the timeout in milliseconds until a connection is established.
StringgetCookieSpec()
Determines the name of the cookie specification to be used for HTTP state management.
InetAddressgetLocalAddress()
Returns local address to be used for request execution.
intgetMaxRedirects()
Returns the maximum number of redirects to be followed.
HttpHostgetProxy()
Returns HTTP proxy to be used for request execution.
intgetSocketTimeout()
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).
CollectiongetTargetPreferredAuthSchemes()
Determines the order of preference for supported authentication schemes when authenticating with the target host.
booleanisAuthenticationEnabled()
Determines whether authentication should be handled automatically.
booleanisCircularRedirectsAllowed()
Determines whether circular redirects (redirects to the same location) should be allowed.
booleanisExpectContinueEnabled()
Determines whether the 'Expect: 100-Continue' handshake is enabled for entity enclosing methods.
booleanisRedirectsEnabled()
Determines whether redirects should be handled automatically.
booleanisRelativeRedirectsAllowed()
Determines whether relative redirects should be rejected.
booleanisStaleConnectionCheckEnabled()
Determines whether stale connection check is to be used.
StringtoString()