Class Overview
Constants and static helpers related to the HTTP protocol.
Summary
|
[Expand]
Inherited Methods |
From class java.lang.Object
|
Object
|
clone()
Returns a new instance of the same class as the receiver, whose slots
have been filled in with the values in the slots of the receiver.
|
|
boolean
|
equals(Object o)
Compares the argument to the receiver, and returns true if they represent
the same object using a class specific comparison.
|
|
void
|
finalize()
Called by the virtual machine when there are no longer any (non-weak)
references to the receiver.
|
|
final
Class<? extends Object>
|
getClass()
Returns the unique instance of java.lang.Class which represents the class
of the receiver.
|
|
int
|
hashCode()
Returns an integer hash code for the receiver.
|
|
final
void
|
notify()
Causes one thread which is wait ing on the receiver to be
made ready to run.
|
|
final
void
|
notifyAll()
Causes all threads which are wait ing on the receiver to
be made ready to run.
|
|
String
|
toString()
Returns a string containing a concise, human-readable description of the
receiver.
|
|
final
void
|
wait(long time, int frac)
Causes the thread which sent this message to be made not ready to run
either pending some change in the receiver (as indicated by
notify or notifyAll) or the expiration of
the timeout.
|
|
final
void
|
wait(long time)
Causes the thread which sent this message to be made not ready to run
either pending some change in the receiver (as indicated by
notify or notifyAll) or the expiration of
the timeout.
|
|
final
void
|
wait()
Causes the thread which sent this message to be made not ready to run
pending some change in the receiver (as indicated by notify
or notifyAll).
|
|
Constants
public
static
final
String
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
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
public
static
final
String
DEFAULT_CONTENT_CHARSET
Constant Value:
"ISO-8859-1"
public
static
final
String
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
Constant Value:
"100-Continue"
public
static
final
String
EXPECT_DIRECTIVE
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
Constant Value:
"application/octet-stream"
public
static
final
String
PLAIN_TEXT_TYPE
Constant Value:
"text/plain"
public
static
final
String
SERVER_HEADER
public
static
final
int
SP
Constant Value:
32
(0x00000020)
public
static
final
String
TARGET_HOST
public
static
final
String
TRANSFER_ENCODING
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
public
static
final
String
UTF_8
Common charset definitions
Constant Value:
"UTF-8"
Public Methods
public
static
boolean
isWhitespace
(char ch)