|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.slamd.common.http.HttpConstants
This class contains a number of constants for use in the HTTP Client.
| Field Summary | |
static java.lang.String |
CONNECTION
The Connection header. |
static byte[] |
CONNECTION_BYTES
The byte array containing the byte representation of "connection". |
static java.lang.String |
CONTENT_LENGTH
The Content-Length header. |
static byte[] |
CONTENT_LENGTH_BYTES
The byte array containing the byte representation of "content-length". |
static java.lang.String |
DEFAULT_HTTP_HOST
The default host |
static int |
DEFAULT_HTTP_PORT
The wellknown http port number |
static int |
DEFAULT_HTTPS_PORT
The well known https port number |
static java.lang.String |
DOMAIN
The DOMAIN header. |
static byte[] |
DOMAIN_BYTES
The byte array containing the byte representation of "DOMAIN". |
static java.lang.String |
EOL
The end-of-line marker to be used in all requests as dictated by RFC 2068. |
static byte[] |
EOL_BYTES
The byte array containing the byte representation of e-o-l marker. |
static java.lang.String |
EXPIRES
The EXPIRES header. |
static byte[] |
EXPIRES_BYTES
The byte array containing the byte representation of "EXPIRES". |
static java.lang.String |
FAILED_AUTH
|
static int |
FORBIDDEN
403 Forbidden |
static java.lang.String |
GET
|
static byte[] |
GET_BYTES
|
static java.lang.String |
HTTP
The protocol HTTP |
static java.lang.String |
HTTPS
The protocol HTTPS |
static int |
INTERNAL_SERVER_ERROR
500 Internal Server Error |
static java.lang.String |
KEEP_ALIVE
The KEEP-ALIVE header. |
static byte[] |
KEEP_ALIVE_BYTES
The byte array containing the byte representation of "keep-alive". |
static java.lang.String |
LOCATION
The LOCATION header. |
static byte[] |
LOCATION_BYTES
The byte array containing the byte representation of "LOCATION". |
static int |
MOVED_PERMANENTLY
301 Moved-Permenantly |
static int |
MOVED_TEMPORARILY
302 Moved-Temporarily |
static java.lang.String |
MOVED_TEMPORARILY_HEADER
The MOVED-TEMPORARILY header. |
static byte[] |
MOVED_TEMPORARILY_HEADER_BYTES
The byte array containing the byte representation of "MOVED-TEMPORARILY". |
static int |
NOT_FOUND
404 Not Found |
static int |
OK
200 Ok |
static java.lang.String |
PATH
The PATH header. |
static byte[] |
PATH_BYTES
The byte array containing the byte representation of "PATH". |
static java.lang.String |
POST
|
static byte[] |
POST_BYTES
|
static java.lang.String |
PROTOCOL_VERSION_1_0
The string that indicates that HTTP 1.0 is to be used for the GETs. |
static java.lang.String |
PROTOCOL_VERSION_1_1
The string that indicates that HTTP 1.1 is to be used for the GETs. |
static int |
RESPONSE_EXPECTATION_FAILED
The HTTP response that will be used if the client cannot parse the response from the server. |
static java.lang.String |
SECURE
The SECURE header. |
static byte[] |
SECURE_BYTES
The byte array containing the byte representation of "SECURE". |
static java.lang.String |
SET_COOKIE
The SET-COOKIE header. |
static byte[] |
SET_COOKIE_BYTES
The byte array containing the byte representation of "SET-COOKIE". |
static java.lang.String |
SUCCESSFUL_AUTH
|
static java.lang.String |
TOKEN1
|
static java.lang.String |
TOKEN2
|
static java.lang.String |
X_AUTHERRORCODE
|
static byte[] |
X_AUTHERRORCODE_BYTES
|
| Constructor Summary | |
HttpConstants()
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int OK
public static final int MOVED_PERMANENTLY
public static final int MOVED_TEMPORARILY
public static final int FORBIDDEN
public static final int NOT_FOUND
public static final int INTERNAL_SERVER_ERROR
public static final java.lang.String DEFAULT_HTTP_HOST
public static final int DEFAULT_HTTP_PORT
public static final int DEFAULT_HTTPS_PORT
public static final java.lang.String HTTP
public static final java.lang.String HTTPS
public static final java.lang.String PROTOCOL_VERSION_1_0
public static final java.lang.String PROTOCOL_VERSION_1_1
public static final java.lang.String EOL
public static final byte[] EOL_BYTES
public static final java.lang.String CONNECTION
public static final byte[] CONNECTION_BYTES
public static final java.lang.String CONTENT_LENGTH
public static final byte[] CONTENT_LENGTH_BYTES
public static final java.lang.String KEEP_ALIVE
public static final byte[] KEEP_ALIVE_BYTES
public static final java.lang.String MOVED_TEMPORARILY_HEADER
public static final byte[] MOVED_TEMPORARILY_HEADER_BYTES
public static final java.lang.String LOCATION
public static final byte[] LOCATION_BYTES
public static final java.lang.String SET_COOKIE
public static final byte[] SET_COOKIE_BYTES
public static final java.lang.String DOMAIN
public static final byte[] DOMAIN_BYTES
public static final java.lang.String PATH
public static final byte[] PATH_BYTES
public static final java.lang.String EXPIRES
public static final byte[] EXPIRES_BYTES
public static final java.lang.String SECURE
public static final byte[] SECURE_BYTES
public static final int RESPONSE_EXPECTATION_FAILED
public static final java.lang.String GET
public static final byte[] GET_BYTES
public static final java.lang.String POST
public static final byte[] POST_BYTES
public static final java.lang.String X_AUTHERRORCODE
public static final byte[] X_AUTHERRORCODE_BYTES
public static final java.lang.String TOKEN1
public static final java.lang.String TOKEN2
public static final java.lang.String SUCCESSFUL_AUTH
public static final java.lang.String FAILED_AUTH
| Constructor Detail |
public HttpConstants()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||