Android
org.apache.http.protocol
public final class

org.apache.http.protocol.HTTP

java.lang.Object
org.apache.http.protocol.HTTP

Constants and static helpers related to the HTTP protocol.

Summary

Constants

      Value  
String  ASCII    "ASCII" 
String  CHARSET_PARAM    "; charset=" 
String  CHUNK_CODING  Transfer encoding definitions   "chunked" 
String  CONN_CLOSE  HTTP connection control   "Close" 
String  CONN_DIRECTIVE    "Connection" 
String  CONN_KEEP_ALIVE    "Keep-Alive" 
String  CONTENT_ENCODING    "Content-Encoding" 
String  CONTENT_LEN    "Content-Length" 
String  CONTENT_TYPE    "Content-Type" 
int  CR    13  0x0000000d 
String  DATE_HEADER    "Date" 
String  DEFAULT_CONTENT_CHARSET  Default charsets   "ISO-8859-1" 
String  DEFAULT_CONTENT_TYPE  Default content type   "application/octet-stream" 
String  DEFAULT_PROTOCOL_CHARSET    "US-ASCII" 
String  EXPECT_CONTINUE  HTTP expectations   "100-Continue" 
String  EXPECT_DIRECTIVE    "Expect" 
int  HT    0x00000009 
String  IDENTITY_CODING    "identity" 
String  ISO_8859_1    "ISO-8859-1" 
int  LF    10  0x0000000a 
String  OCTET_STREAM_TYPE  Content type definitions   "application/octet-stream" 
String  PLAIN_TEXT_TYPE    "text/plain" 
String  SERVER_HEADER    "Server" 
int  SP    32  0x00000020 
String  TARGET_HOST    "Host" 
String  TRANSFER_ENCODING  HTTP header definitions   "Transfer-Encoding" 
String  USER_AGENT    "User-Agent" 
String  US_ASCII    "US-ASCII" 
String  UTF_16    "UTF-16" 
String  UTF_8  Common charset definitions   "UTF-8" 

Public Methods

      static    boolean  isWhitespace(char ch)
Methods inherited from class java.lang.Object

Details

Constants

public static final String ASCII

Constant Value: "ASCII"

public static final String CHARSET_PARAM

Constant Value: "; charset="

public static final String CHUNK_CODING

Transfer encoding definitions
Constant Value: "chunked"

public static final String CONN_CLOSE

HTTP connection control
Constant Value: "Close"

public static final String CONN_DIRECTIVE

Constant Value: "Connection"

public static final String CONN_KEEP_ALIVE

Constant Value: "Keep-Alive"

public static final String CONTENT_ENCODING

Constant Value: "Content-Encoding"

public static final String CONTENT_LEN

Constant Value: "Content-Length"

public static final String CONTENT_TYPE

Constant Value: "Content-Type"

public static final int CR

Constant Value: 13 (0x0000000d)

public static final String DATE_HEADER

Constant Value: "Date"

public static final String DEFAULT_CONTENT_CHARSET

Default charsets
Constant Value: "ISO-8859-1"

public static final String DEFAULT_CONTENT_TYPE

Default content type
Constant Value: "application/octet-stream"

public static final String DEFAULT_PROTOCOL_CHARSET

Constant Value: "US-ASCII"

public static final String EXPECT_CONTINUE

HTTP expectations
Constant Value: "100-Continue"

public static final String EXPECT_DIRECTIVE

Constant Value: "Expect"

public static final int HT

Constant Value: 9 (0x00000009)

public static final String IDENTITY_CODING

Constant Value: "identity"

public static final String ISO_8859_1

Constant Value: "ISO-8859-1"

public static final int LF

Constant Value: 10 (0x0000000a)

public static final String OCTET_STREAM_TYPE

Content type definitions
Constant Value: "application/octet-stream"

public static final String PLAIN_TEXT_TYPE

Constant Value: "text/plain"

public static final String SERVER_HEADER

Constant Value: "Server"

public static final int SP

Constant Value: 32 (0x00000020)

public static final String TARGET_HOST

Constant Value: "Host"

public static final String TRANSFER_ENCODING

HTTP header definitions
Constant Value: "Transfer-Encoding"

public static final String USER_AGENT

Constant Value: "User-Agent"

public static final String US_ASCII

Constant Value: "US-ASCII"

public static final String UTF_16

Constant Value: "UTF-16"

public static final String UTF_8

Common charset definitions
Constant Value: "UTF-8"

Public Methods

public static boolean isWhitespace(char ch)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48