com.foxinmy.weixin4j.http.apache
Class HTTP

java.lang.Object
  extended by com.foxinmy.weixin4j.http.apache.HTTP

public final class HTTP
extends Object

Constants and static helpers related to the HTTP protocol.

Since:
4.0

Field Summary
static String CHUNK_CODING
          Transfer encoding definitions
static String CONN_CLOSE
          HTTP connection control
static String CONN_DIRECTIVE
           
static String CONN_KEEP_ALIVE
           
static String CONTENT_ENCODING
           
static String CONTENT_LEN
           
static String CONTENT_TYPE
           
static int CR
           
static String DATE_HEADER
           
static String EXPECT_CONTINUE
          HTTP expectations
static String EXPECT_DIRECTIVE
           
static int HT
           
static String IDENTITY_CODING
           
static int LF
           
static String SERVER_HEADER
           
static int SP
           
static String TARGET_HOST
           
static String TRANSFER_ENCODING
          HTTP header definitions
static String USER_AGENT
           
 
Method Summary
static boolean isWhitespace(char ch)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 String TRANSFER_ENCODING
HTTP header definitions

See Also:
Constant Field Values

CONTENT_LEN

public static final String CONTENT_LEN
See Also:
Constant Field Values

CONTENT_TYPE

public static final String CONTENT_TYPE
See Also:
Constant Field Values

CONTENT_ENCODING

public static final String CONTENT_ENCODING
See Also:
Constant Field Values

EXPECT_DIRECTIVE

public static final String EXPECT_DIRECTIVE
See Also:
Constant Field Values

CONN_DIRECTIVE

public static final String CONN_DIRECTIVE
See Also:
Constant Field Values

TARGET_HOST

public static final String TARGET_HOST
See Also:
Constant Field Values

USER_AGENT

public static final String USER_AGENT
See Also:
Constant Field Values

DATE_HEADER

public static final String DATE_HEADER
See Also:
Constant Field Values

SERVER_HEADER

public static final String SERVER_HEADER
See Also:
Constant Field Values

EXPECT_CONTINUE

public static final String EXPECT_CONTINUE
HTTP expectations

See Also:
Constant Field Values

CONN_CLOSE

public static final String CONN_CLOSE
HTTP connection control

See Also:
Constant Field Values

CONN_KEEP_ALIVE

public static final String CONN_KEEP_ALIVE
See Also:
Constant Field Values

CHUNK_CODING

public static final String CHUNK_CODING
Transfer encoding definitions

See Also:
Constant Field Values

IDENTITY_CODING

public static final String IDENTITY_CODING
See Also:
Constant Field Values
Method Detail

isWhitespace

public static boolean isWhitespace(char ch)


Copyright © 2014–2017. All rights reserved.