Package org.apache.http.protocol
Class HTTP
java.lang.Object
org.apache.http.protocol.HTTP
public final class HTTP extends Object
Constants and static helpers related to the HTTP protocol.
- Since:
- 4.0
- Version:
- $Revision: 555989 $
- Author:
- Oleg Kalnichevski
-
Field Summary
Fields Modifier and Type Field Description static StringASCIIstatic StringCHARSET_PARAMstatic StringCHUNK_CODINGTransfer encoding definitionsstatic StringCONN_CLOSEHTTP connection controlstatic StringCONN_DIRECTIVEstatic StringCONN_KEEP_ALIVEstatic StringCONTENT_ENCODINGstatic StringCONTENT_LENstatic StringCONTENT_TYPEstatic intCRstatic StringDATE_HEADERstatic StringDEFAULT_CONTENT_CHARSETDefault charsetsstatic StringDEFAULT_CONTENT_TYPEDefault content typestatic StringDEFAULT_PROTOCOL_CHARSETstatic StringEXPECT_CONTINUEHTTP expectationsstatic StringEXPECT_DIRECTIVEstatic intHTstatic StringIDENTITY_CODINGstatic StringISO_8859_1static intLFstatic StringOCTET_STREAM_TYPEContent type definitionsstatic StringPLAIN_TEXT_TYPEstatic StringSERVER_HEADERstatic intSPstatic StringTARGET_HOSTstatic StringTRANSFER_ENCODINGHTTP header definitionsstatic StringUS_ASCIIstatic StringUSER_AGENTstatic StringUTF_16static StringUTF_8Common charset definitions -
Method Summary
Modifier and Type Method Description static booleanisWhitespace(char ch)
-
Field Details
-
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
HTTP header definitions- See Also:
- Constant Field Values
-
CONTENT_LEN
- See Also:
- Constant Field Values
-
CONTENT_TYPE
- See Also:
- Constant Field Values
-
CONTENT_ENCODING
- See Also:
- Constant Field Values
-
EXPECT_DIRECTIVE
- See Also:
- Constant Field Values
-
CONN_DIRECTIVE
- See Also:
- Constant Field Values
-
TARGET_HOST
- See Also:
- Constant Field Values
-
USER_AGENT
- See Also:
- Constant Field Values
-
DATE_HEADER
- See Also:
- Constant Field Values
-
SERVER_HEADER
- See Also:
- Constant Field Values
-
EXPECT_CONTINUE
HTTP expectations- See Also:
- Constant Field Values
-
CONN_CLOSE
HTTP connection control- See Also:
- Constant Field Values
-
CONN_KEEP_ALIVE
- See Also:
- Constant Field Values
-
CHUNK_CODING
Transfer encoding definitions- See Also:
- Constant Field Values
-
IDENTITY_CODING
- See Also:
- Constant Field Values
-
UTF_8
Common charset definitions- See Also:
- Constant Field Values
-
UTF_16
- See Also:
- Constant Field Values
-
US_ASCII
- See Also:
- Constant Field Values
-
ASCII
- See Also:
- Constant Field Values
-
ISO_8859_1
- See Also:
- Constant Field Values
-
DEFAULT_CONTENT_CHARSET
Default charsets- See Also:
- Constant Field Values
-
DEFAULT_PROTOCOL_CHARSET
- See Also:
- Constant Field Values
-
OCTET_STREAM_TYPE
Content type definitions- See Also:
- Constant Field Values
-
PLAIN_TEXT_TYPE
- See Also:
- Constant Field Values
-
CHARSET_PARAM
- See Also:
- Constant Field Values
-
DEFAULT_CONTENT_TYPE
Default content type- See Also:
- Constant Field Values
-
-
Method Details
-
isWhitespace
public static boolean isWhitespace(char ch)
-