Package org.apache.http.protocol
Class HTTP
- java.lang.Object
-
- org.apache.http.protocol.HTTP
-
public final class HTTP extends java.lang.Object
Constants and static helpers related to the HTTP protocol.- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ASCII
Deprecated.(4.2)static java.lang.String
CHARSET_PARAM
Deprecated.(4.2)static java.lang.String
CHUNK_CODING
Transfer encoding definitionsstatic java.lang.String
CONN_CLOSE
HTTP connection controlstatic java.lang.String
CONN_DIRECTIVE
static java.lang.String
CONN_KEEP_ALIVE
static java.lang.String
CONTENT_ENCODING
static java.lang.String
CONTENT_LEN
static java.lang.String
CONTENT_TYPE
static int
CR
static java.lang.String
DATE_HEADER
static java.nio.charset.Charset
DEF_CONTENT_CHARSET
static java.nio.charset.Charset
DEF_PROTOCOL_CHARSET
static java.lang.String
DEFAULT_CONTENT_CHARSET
Deprecated.(4.2)static java.lang.String
DEFAULT_CONTENT_TYPE
Deprecated.(4.2)static java.lang.String
DEFAULT_PROTOCOL_CHARSET
Deprecated.(4.2)static java.lang.String
EXPECT_CONTINUE
HTTP expectationsstatic java.lang.String
EXPECT_DIRECTIVE
static int
HT
static java.lang.String
IDENTITY_CODING
static java.lang.String
ISO_8859_1
Deprecated.(4.2)static int
LF
static java.lang.String
OCTET_STREAM_TYPE
Deprecated.(4.2)static java.lang.String
PLAIN_TEXT_TYPE
Deprecated.(4.2)static java.lang.String
SERVER_HEADER
static int
SP
static java.lang.String
TARGET_HOST
static java.lang.String
TRANSFER_ENCODING
HTTP header definitionsstatic java.lang.String
US_ASCII
Deprecated.(4.2)static java.lang.String
USER_AGENT
static java.lang.String
UTF_16
Deprecated.(4.2)static java.lang.String
UTF_8
Deprecated.(4.2)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isWhitespace(char ch)
-
-
-
Field Detail
-
CR
public static final int CR
- See Also:
- Constant Field Values
-
LF
public static final int LF
- See Also:
- Constant Field Values
-
SP
public static final int SP
- See Also:
- Constant Field Values
-
HT
public static final int HT
- See Also:
- Constant Field Values
-
TRANSFER_ENCODING
public static final java.lang.String TRANSFER_ENCODING
HTTP header definitions- See Also:
- Constant Field Values
-
CONTENT_LEN
public static final java.lang.String CONTENT_LEN
- See Also:
- Constant Field Values
-
CONTENT_TYPE
public static final java.lang.String CONTENT_TYPE
- See Also:
- Constant Field Values
-
CONTENT_ENCODING
public static final java.lang.String CONTENT_ENCODING
- See Also:
- Constant Field Values
-
EXPECT_DIRECTIVE
public static final java.lang.String EXPECT_DIRECTIVE
- See Also:
- Constant Field Values
-
CONN_DIRECTIVE
public static final java.lang.String CONN_DIRECTIVE
- See Also:
- Constant Field Values
-
TARGET_HOST
public static final java.lang.String TARGET_HOST
- See Also:
- Constant Field Values
-
USER_AGENT
public static final java.lang.String USER_AGENT
- See Also:
- Constant Field Values
-
DATE_HEADER
public static final java.lang.String DATE_HEADER
- See Also:
- Constant Field Values
-
SERVER_HEADER
public static final java.lang.String SERVER_HEADER
- See Also:
- Constant Field Values
-
EXPECT_CONTINUE
public static final java.lang.String EXPECT_CONTINUE
HTTP expectations- See Also:
- Constant Field Values
-
CONN_CLOSE
public static final java.lang.String CONN_CLOSE
HTTP connection control- See Also:
- Constant Field Values
-
CONN_KEEP_ALIVE
public static final java.lang.String CONN_KEEP_ALIVE
- See Also:
- Constant Field Values
-
CHUNK_CODING
public static final java.lang.String CHUNK_CODING
Transfer encoding definitions- See Also:
- Constant Field Values
-
IDENTITY_CODING
public static final java.lang.String IDENTITY_CODING
- See Also:
- Constant Field Values
-
DEF_CONTENT_CHARSET
public static final java.nio.charset.Charset DEF_CONTENT_CHARSET
-
DEF_PROTOCOL_CHARSET
public static final java.nio.charset.Charset DEF_PROTOCOL_CHARSET
-
UTF_8
@Deprecated public static final java.lang.String UTF_8
Deprecated.(4.2)- See Also:
- Constant Field Values
-
UTF_16
@Deprecated public static final java.lang.String UTF_16
Deprecated.(4.2)- See Also:
- Constant Field Values
-
US_ASCII
@Deprecated public static final java.lang.String US_ASCII
Deprecated.(4.2)- See Also:
- Constant Field Values
-
ASCII
@Deprecated public static final java.lang.String ASCII
Deprecated.(4.2)- See Also:
- Constant Field Values
-
ISO_8859_1
@Deprecated public static final java.lang.String ISO_8859_1
Deprecated.(4.2)- See Also:
- Constant Field Values
-
DEFAULT_CONTENT_CHARSET
@Deprecated public static final java.lang.String DEFAULT_CONTENT_CHARSET
Deprecated.(4.2)- See Also:
- Constant Field Values
-
DEFAULT_PROTOCOL_CHARSET
@Deprecated public static final java.lang.String DEFAULT_PROTOCOL_CHARSET
Deprecated.(4.2)- See Also:
- Constant Field Values
-
OCTET_STREAM_TYPE
@Deprecated public static final java.lang.String OCTET_STREAM_TYPE
Deprecated.(4.2)- See Also:
- Constant Field Values
-
PLAIN_TEXT_TYPE
@Deprecated public static final java.lang.String PLAIN_TEXT_TYPE
Deprecated.(4.2)- See Also:
- Constant Field Values
-
CHARSET_PARAM
@Deprecated public static final java.lang.String CHARSET_PARAM
Deprecated.(4.2)- See Also:
- Constant Field Values
-
DEFAULT_CONTENT_TYPE
@Deprecated public static final java.lang.String DEFAULT_CONTENT_TYPE
Deprecated.(4.2)- See Also:
- Constant Field Values
-
-