|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.obex.ResponseCodes
public class ResponseCodes
The ResponseCodes class contains the list of valid
response codes a server may send to a client.
IMPORTANT NOTE
It is important to note that these values are different then those defined
in javax.microedition.io.HttpConnection. The values in this
interface represent the values defined in the IrOBEX specification. The
values in javax.microedition.io.HttpConnection represent values
defined in the HTTP specification.
OBEX_DATABASE_FULL and OBEX_DATABASE_LOCKED require
further description since they are not defined in HTTP. The server will send
an OBEX_DATABASE_FULL message when the client requests that
something be placed into a database but the database is full (cannot take
more data). OBEX_DATABASE_LOCKED will be returned when the
client wishes to access a database, database table, or database record that
has been locked.
| Field Summary | ||
|---|---|---|
static int |
OBEX_DATABASE_FULL
Defines the OBEX DATABASE FULL response code. |
|
static int |
OBEX_DATABASE_LOCKED
Defines the OBEX DATABASE LOCKED response code. |
|
static int |
OBEX_HTTP_ACCEPTED
Defines the OBEX ACCEPTED response code. |
|
static int |
OBEX_HTTP_BAD_GATEWAY
Defines the OBEX BAD GATEWAY response code. |
|
static int |
OBEX_HTTP_BAD_METHOD
Defines the OBEX METHOD NOT ALLOWED response code. |
|
static int |
OBEX_HTTP_BAD_REQUEST
Defines the OBEX BAD REQUEST response code. |
|
static int |
OBEX_HTTP_CONFLICT
Defines the OBEX METHOD CONFLICT response code. |
|
static int |
OBEX_HTTP_CREATED
Defines the OBEX CREATED response code. |
|
static int |
OBEX_HTTP_ENTITY_TOO_LARGE
Defines the OBEX REQUESTED ENTITY TOO LARGE response code. |
|
static int |
OBEX_HTTP_FORBIDDEN
Defines the OBEX FORBIDDEN response code. |
|
static int |
OBEX_HTTP_GATEWAY_TIMEOUT
Defines the OBEX GATEWAY TIMEOUT response code. |
|
static int |
OBEX_HTTP_GONE
Defines the OBEX METHOD GONE response code. |
|
static int |
OBEX_HTTP_INTERNAL_ERROR
Defines the OBEX INTERNAL SERVER ERROR response code. |
|
static int |
OBEX_HTTP_LENGTH_REQUIRED
Defines the OBEX METHOD LENGTH REQUIRED response code. |
|
static int |
OBEX_HTTP_MOVED_PERM
Defines the OBEX MOVED PERMANENTLY response code. |
|
static int |
OBEX_HTTP_MOVED_TEMP
Defines the OBEX MOVED TEMPORARILY response code. |
|
static int |
OBEX_HTTP_MULT_CHOICE
Defines the OBEX MULTIPLE_CHOICES response code. |
|
static int |
OBEX_HTTP_NOT_ACCEPTABLE
Defines the OBEX NOT ACCEPTABLE response code. |
|
static int |
OBEX_HTTP_NOT_AUTHORITATIVE
Defines the OBEX NON-AUTHORITATIVE INFORMATION response code. |
|
static int |
OBEX_HTTP_NOT_FOUND
Defines the OBEX NOT FOUND response code. |
|
static int |
OBEX_HTTP_NOT_IMPLEMENTED
Defines the OBEX NOT IMPLEMENTED response code. |
|
static int |
OBEX_HTTP_NOT_MODIFIED
Defines the OBEX NOT MODIFIED response code. |
|
static int |
OBEX_HTTP_NO_CONTENT
Defines the OBEX NO CONTENT response code. |
|
static int |
OBEX_HTTP_OK
Defines the OBEX SUCCESS response code. |
|
static int |
OBEX_HTTP_PARTIAL
Defines the OBEX PARTIAL CONTENT response code. |
|
static int |
OBEX_HTTP_PAYMENT_REQUIRED
Defines the OBEX PAYMENT REQUIRED response code. |
|
static int |
OBEX_HTTP_PRECON_FAILED
Defines the OBEX PRECONDITION FAILED response code. |
|
static int |
OBEX_HTTP_PROXY_AUTH
Defines the OBEX PROXY AUTHENTICATION REQUIRED response code. |
|
static int |
OBEX_HTTP_REQ_TOO_LARGE
Defines the OBEX REQUESTED URL TOO LARGE response code. |
|
static int |
OBEX_HTTP_RESET
Defines the OBEX RESET CONTENT response code. |
|
static int |
OBEX_HTTP_SEE_OTHER
Defines the OBEX SEE OTHER response code. |
|
static int |
OBEX_HTTP_TIMEOUT
Defines the OBEX REQUEST TIME OUT response code. |
|
static int |
OBEX_HTTP_UNAUTHORIZED
Defines the OBEX UNAUTHORIZED response code. |
|
static int |
OBEX_HTTP_UNAVAILABLE
Defines the OBEX SERVICE UNAVAILABLE response code. |
|
static int |
OBEX_HTTP_UNSUPPORTED_TYPE
Defines the OBEX UNSUPPORTED MEDIA TYPE response code. |
|
static int |
OBEX_HTTP_USE_PROXY
Defines the OBEX USE PROXY response code. |
|
static int |
OBEX_HTTP_VERSION
Defines the OBEX HTTP VERSION NOT SUPPORTED response code. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int OBEX_HTTP_OK
The value of OBEX_HTTP_OK is 0xA0 (160).
public static final int OBEX_HTTP_CREATED
The value of OBEX_HTTP_CREATED is 0xA1 (161).
public static final int OBEX_HTTP_ACCEPTED
The value of OBEX_HTTP_ACCEPTED is 0xA2 (162).
public static final int OBEX_HTTP_NOT_AUTHORITATIVE
The value of OBEX_HTTP_NOT_AUTHORITATIVE is 0xA3 (163).
public static final int OBEX_HTTP_NO_CONTENT
The value of OBEX_HTTP_NO_CONTENT is 0xA4 (164).
public static final int OBEX_HTTP_RESET
The value of OBEX_HTTP_RESET is 0xA5 (165).
public static final int OBEX_HTTP_PARTIAL
The value of OBEX_HTTP_PARTIAL is 0xA6 (166).
public static final int OBEX_HTTP_MULT_CHOICE
The value of OBEX_HTTP_MULT_CHOICE is 0xB0 (176).
public static final int OBEX_HTTP_MOVED_PERM
The value of OBEX_HTTP_MOVED_PERM is 0xB1 (177).
public static final int OBEX_HTTP_MOVED_TEMP
The value of OBEX_HTTP_MOVED_TEMP is 0xB2 (178).
public static final int OBEX_HTTP_SEE_OTHER
The value of OBEX_HTTP_SEE_OTHER is 0xB3 (179).
public static final int OBEX_HTTP_NOT_MODIFIED
The value of OBEX_HTTP_NOT_MODIFIED is 0xB4 (180).
public static final int OBEX_HTTP_USE_PROXY
The value of OBEX_HTTP_USE_PROXY is 0xB5 (181).
public static final int OBEX_HTTP_BAD_REQUEST
The value of OBEX_HTTP_BAD_REQUEST is 0xC0 (192).
public static final int OBEX_HTTP_UNAUTHORIZED
The value of OBEX_HTTP_UNAUTHORIZED is 0xC1 (193).
public static final int OBEX_HTTP_PAYMENT_REQUIRED
The value of OBEX_HTTP_PAYMENT_REQUIRED is 0xC2 (194).
public static final int OBEX_HTTP_FORBIDDEN
The value of OBEX_HTTP_FORBIDDEN is 0xC3 (195).
public static final int OBEX_HTTP_NOT_FOUND
The value of OBEX_HTTP_NOT_FOUND is 0xC4 (196).
public static final int OBEX_HTTP_BAD_METHOD
The value of OBEX_HTTP_BAD_METHOD is 0xC5 (197).
public static final int OBEX_HTTP_NOT_ACCEPTABLE
The value of OBEX_HTTP_NOT_ACCEPTABLE is 0xC6 (198).
public static final int OBEX_HTTP_PROXY_AUTH
The value of OBEX_HTTP_PROXY_AUTH is 0xC7 (199).
public static final int OBEX_HTTP_TIMEOUT
The value of OBEX_HTTP_TIMEOUT is 0xC8 (200).
public static final int OBEX_HTTP_CONFLICT
The value of OBEX_HTTP_CONFLICT is 0xC9 (201).
public static final int OBEX_HTTP_GONE
The value of OBEX_HTTP_GONE is 0xCA (202).
public static final int OBEX_HTTP_LENGTH_REQUIRED
The value of OBEX_HTTP_LENGTH_REQUIRED is 0xCB (203).
public static final int OBEX_HTTP_PRECON_FAILED
The value of OBEX_HTTP_PRECON_FAILED is 0xCC (204).
public static final int OBEX_HTTP_ENTITY_TOO_LARGE
The value of OBEX_HTTP_ENTITY_TOO_LARGE is 0xCD (205).
public static final int OBEX_HTTP_REQ_TOO_LARGE
The value of OBEX_HTTP_REQ_TOO_LARGE is 0xCE (206).
public static final int OBEX_HTTP_UNSUPPORTED_TYPE
The value of OBEX_HTTP_UNSUPPORTED_TYPE is 0xCF (207).
public static final int OBEX_HTTP_INTERNAL_ERROR
The value of OBEX_HTTP_INTERNAL_ERROR is 0xD0 (208).
public static final int OBEX_HTTP_NOT_IMPLEMENTED
The value of OBEX_HTTP_NOT_IMPLEMENTED is 0xD1 (209).
public static final int OBEX_HTTP_BAD_GATEWAY
The value of OBEX_HTTP_BAD_GATEWAY is 0xD2 (210).
public static final int OBEX_HTTP_UNAVAILABLE
The value of OBEX_HTTP_UNAVAILABLE is 0xD3 (211).
public static final int OBEX_HTTP_GATEWAY_TIMEOUT
The value of OBEX_HTTP_GATEWAY_TIMEOUT is 0xD4 (212).
public static final int OBEX_HTTP_VERSION
The value of OBEX_HTTP_VERSION is 0xD5 (213).
public static final int OBEX_DATABASE_FULL
The value of OBEX_DATABASE_FULL is 0xE0 (224).
public static final int OBEX_DATABASE_LOCKED
The value of OBEX_DATABASE_LOCKED is 0xE1 (225).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal