java.lang.Objectorg.apache.commons.httpclient.params.DefaultHttpParams
org.apache.commons.httpclient.params.HttpMethodParams
All Implemented Interfaces:
Cloneable, Serializable, HttpParams
Direct Known Subclasses:
HttpClientParams
<
- a href="mailto:oleg@ural.ru">Oleg KalnichevskiChristian
- Kohlschuetter$
- Revision: 483949 $3.0
- Field Summary | ||
---|---|---|
public static final String | USER_AGENT | Defines the content of the User-Agent header used by
HTTP methods .
This parameter expects a value of type String . |
public static final String | PROTOCOL_VERSION | Defines the HTTP protocol version used by
HTTP methods per
default.
This parameter expects a value of type HttpVersion . |
public static final String | UNAMBIGUOUS_STATUS_LINE | Defines whether HTTP methods should
reject ambiguous HTTP status line .
This parameter expects a value of type Boolean . |
public static final String | SINGLE_COOKIE_HEADER | Defines whether cookies should be put on
a single response header .
This parameter expects a value of type Boolean . |
public static final String | STRICT_TRANSFER_ENCODING | Defines whether responses with an invalid Transfer-Encoding header should be
rejected.
This parameter expects a value of type Boolean . |
public static final String | REJECT_HEAD_BODY | Defines whether the content body sent in response to
org.apache.commons.httpclient.methods.HeadMethod should be rejected.
This parameter expects a value of type Boolean . |
public static final String | HEAD_BODY_CHECK_TIMEOUT | Sets period of time in milliseconds to wait for a content body sent in response to
HEAD method from a
non-compliant server. If the parameter is not set or set to -1 non-compliant
response body check is disabled.
This parameter expects a value of type Integer . |
public static final String | USE_EXPECT_CONTINUE | Activates 'Expect: 100-Continue' handshake for the entity enclosing methods . The purpose of the 'Expect: 100-Continue' handshake to allow a client that is sending a request message with a request body to determine if the origin server is willing to accept the request (based on the request headers) before the client sends the request body. The use of the 'Expect: 100-continue' handshake can result in noticable peformance improvement for entity enclosing requests (such as POST and PUT) that require the target server's authentication. 'Expect: 100-continue' handshake should be used with caution, as it may cause problems with HTTP servers and proxies that do not support HTTP/1.1 protocol. This parameter expects a value of type Boolean . |
public static final String | CREDENTIAL_CHARSET | Defines the charset to be used when encoding
org.apache.commons.httpclient.Credentials . If not defined then the
#HTTP_ELEMENT_CHARSET should be used.
This parameter expects a value of type String . |
public static final String | HTTP_ELEMENT_CHARSET | Defines the charset to be used for encoding HTTP protocol elements.
This parameter expects a value of type String . |
public static final String | HTTP_URI_CHARSET | Defines the charset to be used for parsing URIs.
This parameter expects a value of type String . |
public static final String | HTTP_CONTENT_CHARSET | Defines the charset to be used for encoding content body.
This parameter expects a value of type String . |
public static final String | COOKIE_POLICY | Defines cookie policy to be used for cookie management.
This parameter expects a value of type String . |
public static final String | WARN_EXTRA_INPUT | Defines HttpClient's behavior when a response provides more bytes than
expected (specified with Content-Length, for example).
Such surplus data makes the HTTP connection unreliable for keep-alive requests, as malicious response data (faked headers etc.) can lead to undesired results on the next request using that connection.
If this parameter is set to This parameter expects a value of type Boolean . |
public static final String | STATUS_LINE_GARBAGE_LIMIT | Defines the maximum number of ignorable lines before we expect
a HTTP response's status code.
With HTTP/1.1 persistent connections, the problem arises that
broken scripts could return a wrong Content-Length
(there are more bytes sent than specified).
Set this to 0 to disallow any garbage/empty lines before the status line. |
public static final String | SO_TIMEOUT | Sets the socket timeout (SO_TIMEOUT) in milliseconds to be used when executing the method.
A timeout value of zero is interpreted as an infinite timeout.
This parameter expects a value of type Integer .
|
public static final String | DATE_PATTERNS | The key used to look up the date patterns used for parsing. The String patterns are stored
in a java.util.Collection and must be compatible with
java.text.SimpleDateFormat .
This parameter expects a value of type java.util.Collection . |
public static final String | RETRY_HANDLER | Sets the method retry handler parameter.
This parameter expects a value of type org.apache.commons.httpclient.HttpMethodRetryHandler . |
public static final String | BUFFER_WARN_TRIGGER_LIMIT | Sets the maximum buffered response size (in bytes) that triggers no warning. Buffered
responses exceeding this size will trigger a warning in the log.
This parameter expects a value if type Integer . |
public static final String | VIRTUAL_HOST | Defines the virtual host name.
This parameter expects a value of type java.lang.String . |
public static final String | MULTIPART_BOUNDARY | Sets the value to use as the multipart boundary.
This parameter expects a value if type String . |
Constructor: |
---|
|
|
Method from org.apache.commons.httpclient.params.HttpMethodParams Summary: |
---|
getContentCharset, getCookiePolicy, getCredentialCharset, getHttpElementCharset, getSoTimeout, getUriCharset, getVersion, getVirtualHost, makeLenient, makeStrict, setContentCharset, setCookiePolicy, setCredentialCharset, setHttpElementCharset, setSoTimeout, setUriCharset, setVersion, setVirtualHost |
Methods from org.apache.commons.httpclient.params.DefaultHttpParams: |
---|
clear, clone, getBooleanParameter, getDefaultParams, getDefaults, getDoubleParameter, getIntParameter, getLongParameter, getParameter, isParameterFalse, isParameterSet, isParameterSetLocally, isParameterTrue, setBooleanParameter, setDefaults, setDoubleParameter, setHttpParamsFactory, setIntParameter, setLongParameter, setParameter, setParameters |
Methods from java.lang.Object: |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from org.apache.commons.httpclient.params.HttpMethodParams Detail: |
---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|