org.apache.http.client.params.ClientPNames |
Known Indirect Subclasses |
This interface is deprecated.
Please use openConnection()
instead.
Please visit this webpage
for further details.
Parameter names for the HttpClient module. This does not include parameters for informational units HttpAuth, HttpCookie, or HttpConn.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ALLOW_CIRCULAR_REDIRECTS | Defines whether circular redirects (redirects to the same location) should be allowed. | |||||||||
String | CONNECTION_MANAGER_FACTORY |
Defines the factory to create a default ClientConnectionManager .
|
|||||||||
String | CONNECTION_MANAGER_FACTORY_CLASS_NAME |
Defines the class name of the default ClientConnectionManager
This parameter expects a value of type |
|||||||||
String | COOKIE_POLICY | Defines the name of the cookie specification to be used for HTTP state management. | |||||||||
String | DEFAULT_HEADERS | Defines the request headers to be sent per default with each request. | |||||||||
String | DEFAULT_HOST | Defines the default host. | |||||||||
String | HANDLE_AUTHENTICATION | Defines whether authentication should be handled automatically. | |||||||||
String | HANDLE_REDIRECTS |
Defines whether redirects should be handled automatically
This parameter expects a value of type |
|||||||||
String | MAX_REDIRECTS | Defines the maximum number of redirects to be followed. | |||||||||
String | REJECT_RELATIVE_REDIRECT | Defines whether relative redirects should be rejected. | |||||||||
String | VIRTUAL_HOST | Defines the virtual host name. |
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 enabled
This parameter expects a value of type Boolean
.
Defines the factory to create a default ClientConnectionManager
.
This parameters expects a value of type ClientConnectionManagerFactory
.
Defines the class name of the default ClientConnectionManager
This parameter expects a value of type String
.
Defines the name of the cookie specification to be used for HTTP state management.
This parameter expects a value of type String
.
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 contain Header
s.
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
.
Defines whether authentication should be handled automatically.
This parameter expects a value of type Boolean
.
Defines whether redirects should be handled automatically
This parameter expects a value of type Boolean
.
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
.
Defines whether relative redirects should be rejected.
This parameter expects a value of type Boolean
.
Defines the virtual host name.
This parameter expects a value of type HttpHost
.