OMG, how could this ever leave my local machine...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@580079 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
05e03b6a0e
commit
7edb8cc47a
|
@ -43,126 +43,6 @@ import org.apache.http.params.HttpParams;
|
|||
*/
|
||||
public class HttpClientParams {
|
||||
|
||||
/**
|
||||
* Defines the timeout in milliseconds used when retrieving an instance of
|
||||
* {@link org.apache.http.conn.ManagedClientConnection} from the
|
||||
* {@link org.apache.http.conn.ClientConnectionManager}.
|
||||
* <p>
|
||||
* This parameter expects a value of type {@link Long}.
|
||||
* </p>
|
||||
*/
|
||||
public static final String xxxCONNECTION_MANAGER_TIMEOUT = "http.connection-manager.timeout";
|
||||
|
||||
/**
|
||||
* Defines the class name of the default {@link org.apache.http.conn.ClientConnectionManager}
|
||||
* <p>
|
||||
* This parameter expects a value of type {@link String}.
|
||||
* </p>
|
||||
*/
|
||||
public static final String xxxCONNECTION_MANAGER_FACTORY = "http.connection-manager.factory";
|
||||
|
||||
/**
|
||||
* Defines whether redirects should be handled automatically
|
||||
* <p>
|
||||
* This parameter expects a value of type {@link Boolean}.
|
||||
* </p>
|
||||
*/
|
||||
public static final String xxxHANDLE_REDIRECTS = "http.protocol.handle-redirects";
|
||||
|
||||
/**
|
||||
* Defines whether relative redirects should be rejected.
|
||||
* <p>
|
||||
* This parameter expects a value of type {@link Boolean}.
|
||||
* </p>
|
||||
*/
|
||||
public static final String xxxREJECT_RELATIVE_REDIRECT = "http.protocol.reject-relative-redirect";
|
||||
|
||||
/**
|
||||
* Defines the maximum number of redirects to be followed.
|
||||
* The limit on number of redirects is intended to prevent infinite loops.
|
||||
* <p>
|
||||
* This parameter expects a value of type {@link Integer}.
|
||||
* </p>
|
||||
*/
|
||||
public static final String xxxMAX_REDIRECTS = "http.protocol.max-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 enabled
|
||||
* <p>
|
||||
* This parameter expects a value of type {@link Boolean}.
|
||||
* </p>
|
||||
*/
|
||||
public static final String xxxALLOW_CIRCULAR_REDIRECTS = "http.protocol.allow-circular-redirects";
|
||||
|
||||
/**
|
||||
* Defines whether authentication should be handled automatically.
|
||||
* <p>
|
||||
* This parameter expects a value of type {@link Boolean}.
|
||||
* </p>
|
||||
*/
|
||||
public static final String xxxHANDLE_AUTHENTICATION = "http.protocol.handle-authentication";
|
||||
|
||||
/**
|
||||
* Defines whether authentication should be attempted preemptively.
|
||||
* <p>
|
||||
* This parameter expects a value of type {@link Boolean}.
|
||||
* </p>
|
||||
*/
|
||||
public static final String xxxPREEMPTIVE_AUTHENTICATION = "http.protocol.authentication-preemptive";
|
||||
|
||||
/**
|
||||
* The key used to look up the list of IDs of supported
|
||||
* {@link AuthPolicy authentication schemes} in their order of preference.
|
||||
* The scheme IDs are stored in a {@link java.util.Collection} as
|
||||
* instances of {@link java.lang.String}.
|
||||
*
|
||||
* <p>
|
||||
* If several schemes are returned in the <tt>WWW-Authenticate</tt>
|
||||
* or <tt>Proxy-Authenticate</tt> header, this parameter defines which
|
||||
* {@link AuthPolicy authentication schemes} takes precedence over others.
|
||||
* The first item in the collection represents the most preferred
|
||||
* {@link AuthPolicy authentication scheme}, the last item represents
|
||||
* the ID of the least preferred one.
|
||||
* </p>
|
||||
*/
|
||||
public static final String xxxAUTH_SCHEME_PRIORITY = "http.protocol-auth-scheme-priority";
|
||||
|
||||
/**
|
||||
* Defines the name of the cookie specification to be used for HTTP state management.
|
||||
* <p>
|
||||
* This parameter expects a value of type {@link String}.
|
||||
* </p>
|
||||
*/
|
||||
public static final String xxxCOOKIE_POLICY = "http.protocol.cookie-policy";
|
||||
|
||||
/**
|
||||
* Defines the virtual host name.
|
||||
* <p>
|
||||
* This parameter expects a value of type {@link org.apache.http.HttpHost}.
|
||||
* </p>
|
||||
*/
|
||||
public static final String xxxVIRTUAL_HOST = "http.virtual-host";
|
||||
|
||||
/**
|
||||
* Defines the request headers to be sent per default with each request.
|
||||
* <p>
|
||||
* This parameter expects a value of type {@link java.util.Collection}. The
|
||||
* collection is expected to contain {@link org.apache.http.Header}s.
|
||||
* </p>
|
||||
*/
|
||||
public static final String xxxDEFAULT_HEADERS = "http.default-headers";
|
||||
|
||||
/**
|
||||
* Defines the default host. The default value will be used if the target host is
|
||||
* not explicitly specified in the request URI.
|
||||
* <p>
|
||||
* This parameter expects a value of type {@link org.apache.http.HttpHost}.
|
||||
* </p>
|
||||
*/
|
||||
public static final String xxxDEFAULT_HOST = "http.default-host";
|
||||
|
||||
private HttpClientParams() {
|
||||
super();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue