diff --git a/module-client/src/main/java/org/apache/http/client/params/HttpClientParams.java b/module-client/src/main/java/org/apache/http/client/params/HttpClientParams.java index 39be0b4ef..d1ce16cd3 100644 --- a/module-client/src/main/java/org/apache/http/client/params/HttpClientParams.java +++ b/module-client/src/main/java/org/apache/http/client/params/HttpClientParams.java @@ -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}. - *

- * This parameter expects a value of type {@link Long}. - *

- */ - public static final String xxxCONNECTION_MANAGER_TIMEOUT = "http.connection-manager.timeout"; - - /** - * Defines the class name of the default {@link org.apache.http.conn.ClientConnectionManager} - *

- * This parameter expects a value of type {@link String}. - *

- */ - public static final String xxxCONNECTION_MANAGER_FACTORY = "http.connection-manager.factory"; - - /** - * Defines whether redirects should be handled automatically - *

- * This parameter expects a value of type {@link Boolean}. - *

- */ - public static final String xxxHANDLE_REDIRECTS = "http.protocol.handle-redirects"; - - /** - * Defines whether relative redirects should be rejected. - *

- * This parameter expects a value of type {@link Boolean}. - *

- */ - 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. - *

- * This parameter expects a value of type {@link Integer}. - *

- */ - 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 - *

- * This parameter expects a value of type {@link Boolean}. - *

- */ - public static final String xxxALLOW_CIRCULAR_REDIRECTS = "http.protocol.allow-circular-redirects"; - - /** - * Defines whether authentication should be handled automatically. - *

- * This parameter expects a value of type {@link Boolean}. - *

- */ - public static final String xxxHANDLE_AUTHENTICATION = "http.protocol.handle-authentication"; - - /** - * Defines whether authentication should be attempted preemptively. - *

- * This parameter expects a value of type {@link Boolean}. - *

- */ - 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}. - * - *

- * If several schemes are returned in the WWW-Authenticate - * or Proxy-Authenticate 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. - *

- */ - 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. - *

- * This parameter expects a value of type {@link String}. - *

- */ - public static final String xxxCOOKIE_POLICY = "http.protocol.cookie-policy"; - - /** - * Defines the virtual host name. - *

- * This parameter expects a value of type {@link org.apache.http.HttpHost}. - *

- */ - public static final String xxxVIRTUAL_HOST = "http.virtual-host"; - - /** - * Defines the request headers to be sent per default with each request. - *

- * This parameter expects a value of type {@link java.util.Collection}. The - * collection is expected to contain {@link org.apache.http.Header}s. - *

- */ - 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. - *

- * This parameter expects a value of type {@link org.apache.http.HttpHost}. - *

- */ - public static final String xxxDEFAULT_HOST = "http.default-host"; - private HttpClientParams() { super(); }