@Deprecated
public interface CoreProtocolPNames
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
HTTP_CONTENT_CHARSET
已过时。
Defines the charset to be used per default for encoding content body.
|
static java.lang.String |
HTTP_ELEMENT_CHARSET
已过时。
Defines the charset to be used for encoding HTTP protocol elements.
|
static java.lang.String |
HTTP_MALFORMED_INPUT_ACTION
已过时。
Defines the action to perform upon receiving a malformed input.
|
static java.lang.String |
HTTP_UNMAPPABLE_INPUT_ACTION
已过时。
Defines the action to perform upon receiving an unmappable input.
|
static java.lang.String |
ORIGIN_SERVER
已过时。
Defines the content of the
Server header. |
static java.lang.String |
PROTOCOL_VERSION
已过时。
Defines the
ProtocolVersion used per default. |
static java.lang.String |
STRICT_TRANSFER_ENCODING
已过时。
Defines whether responses with an invalid
Transfer-Encoding
header should be rejected. |
static java.lang.String |
USE_EXPECT_CONTINUE
已过时。
Activates 'Expect: 100-Continue' handshake for the
entity enclosing methods.
|
static java.lang.String |
USER_AGENT
已过时。
Defines the content of the
User-Agent header. |
static java.lang.String |
WAIT_FOR_CONTINUE
已过时。
Defines the maximum period of time in milliseconds the client should spend
waiting for a 100-continue response.
|
static final java.lang.String PROTOCOL_VERSION
ProtocolVersion used per default.
This parameter expects a value of category ProtocolVersion.
static final java.lang.String HTTP_ELEMENT_CHARSET
This parameter expects a value of category String.
static final java.lang.String HTTP_CONTENT_CHARSET
This parameter expects a value of category String.
static final java.lang.String USER_AGENT
User-Agent header.
This parameter expects a value of category String.
static final java.lang.String ORIGIN_SERVER
Server header.
This parameter expects a value of category String.
static final java.lang.String STRICT_TRANSFER_ENCODING
Transfer-Encoding
header should be rejected.
This parameter expects a value of category Boolean.
static final java.lang.String USE_EXPECT_CONTINUE
Activates 'Expect: 100-Continue' handshake for the entity enclosing methods. The purpose of the 'Expect: 100-Continue' handshake is 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 a noticeable performance 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 categoryBoolean.static final java.lang.String WAIT_FOR_CONTINUE
Defines the maximum period of time in milliseconds the client should spend waiting for a 100-continue response.
This parameter expects a value of categoryInteger.static final java.lang.String HTTP_MALFORMED_INPUT_ACTION
Defines the action to perform upon receiving a malformed input. If the input byte sequence is not legal for this charset then the input is said to be malformed
This parameter expects a value of categoryCodingErrorActionstatic final java.lang.String HTTP_UNMAPPABLE_INPUT_ACTION
Defines the action to perform upon receiving an unmappable input. If the input byte sequence is legal but cannot be mapped to a valid Unicode character then the input is said to be unmappable
This parameter expects a value of categoryCodingErrorAction