Android APIs
public final class

HTTP

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

Class Overview

Constants and static helpers related to the HTTP protocol.

Summary

Constants
String ASCII
String CHARSET_PARAM
String CHUNK_CODING Transfer encoding definitions
String CONN_CLOSE HTTP connection control
String CONN_DIRECTIVE
String CONN_KEEP_ALIVE
String CONTENT_ENCODING
String CONTENT_LEN
String CONTENT_TYPE
int CR
String DATE_HEADER
String DEFAULT_CONTENT_CHARSET Default charsets
String DEFAULT_CONTENT_TYPE Default content type
String DEFAULT_PROTOCOL_CHARSET
String EXPECT_CONTINUE HTTP expectations
String EXPECT_DIRECTIVE
int HT
String IDENTITY_CODING
String ISO_8859_1
int LF
String OCTET_STREAM_TYPE Content type definitions
String PLAIN_TEXT_TYPE
String SERVER_HEADER
int SP
String TARGET_HOST
String TRANSFER_ENCODING HTTP header definitions
String USER_AGENT
String US_ASCII
String UTF_16
String UTF_8 Common charset definitions
Public Methods
static boolean isWhitespace(char ch)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ASCII

Added in API level 1

Constant Value: "ASCII"

public static final String CHARSET_PARAM

Added in API level 1

Constant Value: "; charset="

public static final String CHUNK_CODING

Added in API level 1

Transfer encoding definitions

Constant Value: "chunked"

public static final String CONN_CLOSE

Added in API level 1

HTTP connection control

Constant Value: "Close"

public static final String CONN_DIRECTIVE

Added in API level 1

Constant Value: "Connection"

public static final String CONN_KEEP_ALIVE

Added in API level 1

Constant Value: "Keep-Alive"

public static final String CONTENT_ENCODING

Added in API level 1

Constant Value: "Content-Encoding"

public static final String CONTENT_LEN

Added in API level 1

Constant Value: "Content-Length"

public static final String CONTENT_TYPE

Added in API level 1

Constant Value: "Content-Type"

public static final int CR

Added in API level 1

Constant Value: 13 (0x0000000d)

public static final String DATE_HEADER

Added in API level 1

Constant Value: "Date"

public static final String DEFAULT_CONTENT_CHARSET

Added in API level 1

Default charsets

Constant Value: "ISO-8859-1"

public static final String DEFAULT_CONTENT_TYPE

Added in API level 1

Default content type

Constant Value: "application/octet-stream"

public static final String DEFAULT_PROTOCOL_CHARSET

Added in API level 1

Constant Value: "US-ASCII"

public static final String EXPECT_CONTINUE

Added in API level 1

HTTP expectations

Constant Value: "100-continue"

public static final String EXPECT_DIRECTIVE

Added in API level 1

Constant Value: "Expect"

public static final int HT

Added in API level 1

Constant Value: 9 (0x00000009)

public static final String IDENTITY_CODING

Added in API level 1

Constant Value: "identity"

public static final String ISO_8859_1

Added in API level 1

Constant Value: "ISO-8859-1"

public static final int LF

Added in API level 1

Constant Value: 10 (0x0000000a)

public static final String OCTET_STREAM_TYPE

Added in API level 1

Content type definitions

Constant Value: "application/octet-stream"

public static final String PLAIN_TEXT_TYPE

Added in API level 1

Constant Value: "text/plain"

public static final String SERVER_HEADER

Added in API level 1

Constant Value: "Server"

public static final int SP

Added in API level 1

Constant Value: 32 (0x00000020)

public static final String TARGET_HOST

Added in API level 1

Constant Value: "Host"

public static final String TRANSFER_ENCODING

Added in API level 1

HTTP header definitions

Constant Value: "Transfer-Encoding"

public static final String USER_AGENT

Added in API level 1

Constant Value: "User-Agent"

public static final String US_ASCII

Added in API level 1

Constant Value: "US-ASCII"

public static final String UTF_16

Added in API level 1

Constant Value: "UTF-16"

public static final String UTF_8

Added in API level 1

Common charset definitions

Constant Value: "UTF-8"

Public Methods

public static boolean isWhitespace (char ch)

Added in API level 1