Package org.apache.http.client.params
Interface ClientPNames
- All Known Subinterfaces:
AllClientPNames
public interface ClientPNames
Parameter names for the HttpClient module.
This does not include parameters for informational units
HttpAuth, HttpCookie, or HttpConn.
- Since:
- 4.0
- Version:
- $Revision: 659595 $
-
Field Summary
Fields Modifier and Type Field Description static StringALLOW_CIRCULAR_REDIRECTSDefines whether circular redirects (redirects to the same location) should be allowed.static StringCONNECTION_MANAGER_FACTORYDefines the factory to create a defaultClientConnectionManager.static StringCONNECTION_MANAGER_FACTORY_CLASS_NAMEDefines the class name of the defaultClientConnectionManagerstatic StringCOOKIE_POLICYDefines the name of the cookie specification to be used for HTTP state management.static StringDEFAULT_HEADERSDefines the request headers to be sent per default with each request.static StringDEFAULT_HOSTDefines the default host.static StringHANDLE_AUTHENTICATIONDefines whether authentication should be handled automatically.static StringHANDLE_REDIRECTSDefines whether redirects should be handled automaticallystatic StringMAX_REDIRECTSDefines the maximum number of redirects to be followed.static StringREJECT_RELATIVE_REDIRECTDefines whether relative redirects should be rejected.static StringVIRTUAL_HOSTDefines the virtual host name.
-
Field Details
-
CONNECTION_MANAGER_FACTORY_CLASS_NAME
Defines the class name of the defaultClientConnectionManagerThis parameter expects a value of type
String.- See Also:
- Constant Field Values
-
CONNECTION_MANAGER_FACTORY
Defines the factory to create a defaultClientConnectionManager.This parameters expects a value of type
ClientConnectionManagerFactory.- See Also:
- Constant Field Values
-
HANDLE_REDIRECTS
Defines whether redirects should be handled automaticallyThis parameter expects a value of type
Boolean.- See Also:
- Constant Field Values
-
REJECT_RELATIVE_REDIRECT
Defines whether relative redirects should be rejected.This parameter expects a value of type
Boolean.- See Also:
- Constant Field Values
-
MAX_REDIRECTS
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
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
Defines whether authentication should be handled automatically.This parameter expects a value of type
Boolean.- See Also:
- Constant Field Values
-
COOKIE_POLICY
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
Defines the virtual host name.This parameter expects a value of type
HttpHost.- See Also:
- Constant Field Values
-
DEFAULT_HEADERS
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 containHeaders.- See Also:
- Constant Field Values
-
DEFAULT_HOST
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
-