Package org.apache.http.client.params
Interface ClientPNames
-
- All Known Subinterfaces:
AllClientPNames
@Deprecated public interface ClientPNames
Deprecated.(4.3) useRequestConfig
.Parameter names for HTTP client parameters.- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ALLOW_CIRCULAR_REDIRECTS
Deprecated.Defines whether circular redirects (redirects to the same location) should be allowed.static java.lang.String
CONN_MANAGER_TIMEOUT
Deprecated.Defines the timeout in milliseconds used when retrieving an instance ofManagedClientConnection
from theClientConnectionManager
.static java.lang.String
CONNECTION_MANAGER_FACTORY_CLASS_NAME
Deprecated.static java.lang.String
COOKIE_POLICY
Deprecated.Defines the name of the cookie specification to be used for HTTP state management.static java.lang.String
DEFAULT_HEADERS
Deprecated.Defines the request headers to be sent per default with each request.static java.lang.String
DEFAULT_HOST
Deprecated.Defines the default host.static java.lang.String
HANDLE_AUTHENTICATION
Deprecated.Defines whether authentication should be handled automatically.static java.lang.String
HANDLE_REDIRECTS
Deprecated.Defines whether redirects should be handled automaticallystatic java.lang.String
MAX_REDIRECTS
Deprecated.Defines the maximum number of redirects to be followed.static java.lang.String
REJECT_RELATIVE_REDIRECT
Deprecated.Defines whether relative redirects should be rejected.static java.lang.String
VIRTUAL_HOST
Deprecated.Defines the virtual host to be used in theHost
request header instead of the physical host.
-
-
-
Field Detail
-
CONNECTION_MANAGER_FACTORY_CLASS_NAME
static final java.lang.String CONNECTION_MANAGER_FACTORY_CLASS_NAME
Deprecated.- See Also:
- Constant Field Values
-
HANDLE_REDIRECTS
static final java.lang.String HANDLE_REDIRECTS
Deprecated.Defines whether redirects should be handled automaticallyThis parameter expects a value of type
Boolean
.- See Also:
- Constant Field Values
-
REJECT_RELATIVE_REDIRECT
static final java.lang.String REJECT_RELATIVE_REDIRECT
Deprecated.Defines whether relative redirects should be rejected. HTTP specification requires the location value be an absolute URI.This parameter expects a value of type
Boolean
.- See Also:
- Constant Field Values
-
MAX_REDIRECTS
static final java.lang.String MAX_REDIRECTS
Deprecated.Defines the maximum number of redirects to be followed. The limit on number of redirects is intended to prevent infinite loops.This parameter expects a value of type
Integer
.- See Also:
- Constant Field Values
-
ALLOW_CIRCULAR_REDIRECTS
static final java.lang.String ALLOW_CIRCULAR_REDIRECTS
Deprecated.Defines whether circular redirects (redirects to the same location) should be allowed. The HTTP spec is not sufficiently clear whether circular redirects are permitted, therefore optionally they can be enabledThis parameter expects a value of type
Boolean
.- See Also:
- Constant Field Values
-
HANDLE_AUTHENTICATION
static final java.lang.String HANDLE_AUTHENTICATION
Deprecated.Defines whether authentication should be handled automatically.This parameter expects a value of type
Boolean
.- See Also:
- Constant Field Values
-
COOKIE_POLICY
static final java.lang.String COOKIE_POLICY
Deprecated.Defines the name of the cookie specification to be used for HTTP state management.This parameter expects a value of type
String
.- See Also:
- Constant Field Values
-
VIRTUAL_HOST
static final java.lang.String VIRTUAL_HOST
Deprecated.Defines the virtual host to be used in theHost
request header instead of the physical host.This parameter expects a value of type
If a port is not provided, it will be derived from the request URL.HttpHost
.- See Also:
- Constant Field Values
-
DEFAULT_HEADERS
static final java.lang.String DEFAULT_HEADERS
Deprecated.Defines the request headers to be sent per default with each request.This parameter expects a value of type
Collection
. The collection is expected to containHeader
s.- See Also:
- Constant Field Values
-
DEFAULT_HOST
static final java.lang.String DEFAULT_HOST
Deprecated.Defines the default host. The default value will be used if the target host is not explicitly specified in the request URI.This parameter expects a value of type
HttpHost
.- See Also:
- Constant Field Values
-
CONN_MANAGER_TIMEOUT
static final java.lang.String CONN_MANAGER_TIMEOUT
Deprecated.Defines the timeout in milliseconds used when retrieving an instance ofManagedClientConnection
from theClientConnectionManager
.This parameter expects a value of type
Long
.- Since:
- 4.2
- See Also:
- Constant Field Values
-
-