IT. Expert System.

Android Reference

ResponseCodes


javax.obex

Class ResponseCodes



  • public final class ResponseCodes
    extends Object
    The ResponseCodes class contains the list of valid response codes a server may send to a client.

    IMPORTANT NOTE

    The values in this interface represent the values defined in the IrOBEX specification, which is different with 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 Detail

      • OBEX_HTTP_CONTINUE

        public static final int OBEX_HTTP_CONTINUE
        Defines the OBEX CONTINUE response code.

        The value of OBEX_HTTP_CONTINUE is 0x90 (144).

        See Also:
        Constant Field Values
      • OBEX_HTTP_OK

        public static final int OBEX_HTTP_OK
        Defines the OBEX SUCCESS response code.

        The value of OBEX_HTTP_OK is 0xA0 (160).

        See Also:
        Constant Field Values
      • OBEX_HTTP_CREATED

        public static final int OBEX_HTTP_CREATED
        Defines the OBEX CREATED response code.

        The value of OBEX_HTTP_CREATED is 0xA1 (161).

        See Also:
        Constant Field Values
      • OBEX_HTTP_ACCEPTED

        public static final int OBEX_HTTP_ACCEPTED
        Defines the OBEX ACCEPTED response code.

        The value of OBEX_HTTP_ACCEPTED is 0xA2 (162).

        See Also:
        Constant Field Values
      • OBEX_HTTP_NOT_AUTHORITATIVE

        public static final int OBEX_HTTP_NOT_AUTHORITATIVE
        Defines the OBEX NON-AUTHORITATIVE INFORMATION response code.

        The value of OBEX_HTTP_NOT_AUTHORITATIVE is 0xA3 (163).

        See Also:
        Constant Field Values
      • OBEX_HTTP_NO_CONTENT

        public static final int OBEX_HTTP_NO_CONTENT
        Defines the OBEX NO CONTENT response code.

        The value of OBEX_HTTP_NO_CONTENT is 0xA4 (164).

        See Also:
        Constant Field Values
      • OBEX_HTTP_RESET

        public static final int OBEX_HTTP_RESET
        Defines the OBEX RESET CONTENT response code.

        The value of OBEX_HTTP_RESET is 0xA5 (165).

        See Also:
        Constant Field Values
      • OBEX_HTTP_PARTIAL

        public static final int OBEX_HTTP_PARTIAL
        Defines the OBEX PARTIAL CONTENT response code.

        The value of OBEX_HTTP_PARTIAL is 0xA6 (166).

        See Also:
        Constant Field Values
      • OBEX_HTTP_MULT_CHOICE

        public static final int OBEX_HTTP_MULT_CHOICE
        Defines the OBEX MULTIPLE_CHOICES response code.

        The value of OBEX_HTTP_MULT_CHOICE is 0xB0 (176).

        See Also:
        Constant Field Values
      • OBEX_HTTP_MOVED_PERM

        public static final int OBEX_HTTP_MOVED_PERM
        Defines the OBEX MOVED PERMANENTLY response code.

        The value of OBEX_HTTP_MOVED_PERM is 0xB1 (177).

        See Also:
        Constant Field Values
      • OBEX_HTTP_MOVED_TEMP

        public static final int OBEX_HTTP_MOVED_TEMP
        Defines the OBEX MOVED TEMPORARILY response code.

        The value of OBEX_HTTP_MOVED_TEMP is 0xB2 (178).

        See Also:
        Constant Field Values
      • OBEX_HTTP_SEE_OTHER

        public static final int OBEX_HTTP_SEE_OTHER
        Defines the OBEX SEE OTHER response code.

        The value of OBEX_HTTP_SEE_OTHER is 0xB3 (179).

        See Also:
        Constant Field Values
      • OBEX_HTTP_NOT_MODIFIED

        public static final int OBEX_HTTP_NOT_MODIFIED
        Defines the OBEX NOT MODIFIED response code.

        The value of OBEX_HTTP_NOT_MODIFIED is 0xB4 (180).

        See Also:
        Constant Field Values
      • OBEX_HTTP_USE_PROXY

        public static final int OBEX_HTTP_USE_PROXY
        Defines the OBEX USE PROXY response code.

        The value of OBEX_HTTP_USE_PROXY is 0xB5 (181).

        See Also:
        Constant Field Values
      • OBEX_HTTP_BAD_REQUEST

        public static final int OBEX_HTTP_BAD_REQUEST
        Defines the OBEX BAD REQUEST response code.

        The value of OBEX_HTTP_BAD_REQUEST is 0xC0 (192).

        See Also:
        Constant Field Values
      • OBEX_HTTP_UNAUTHORIZED

        public static final int OBEX_HTTP_UNAUTHORIZED
        Defines the OBEX UNAUTHORIZED response code.

        The value of OBEX_HTTP_UNAUTHORIZED is 0xC1 (193).

        See Also:
        Constant Field Values
      • OBEX_HTTP_PAYMENT_REQUIRED

        public static final int OBEX_HTTP_PAYMENT_REQUIRED
        Defines the OBEX PAYMENT REQUIRED response code.

        The value of OBEX_HTTP_PAYMENT_REQUIRED is 0xC2 (194).

        See Also:
        Constant Field Values
      • OBEX_HTTP_FORBIDDEN

        public static final int OBEX_HTTP_FORBIDDEN
        Defines the OBEX FORBIDDEN response code.

        The value of OBEX_HTTP_FORBIDDEN is 0xC3 (195).

        See Also:
        Constant Field Values
      • OBEX_HTTP_NOT_FOUND

        public static final int OBEX_HTTP_NOT_FOUND
        Defines the OBEX NOT FOUND response code.

        The value of OBEX_HTTP_NOT_FOUND is 0xC4 (196).

        See Also:
        Constant Field Values
      • OBEX_HTTP_BAD_METHOD

        public static final int OBEX_HTTP_BAD_METHOD
        Defines the OBEX METHOD NOT ALLOWED response code.

        The value of OBEX_HTTP_BAD_METHOD is 0xC5 (197).

        See Also:
        Constant Field Values
      • OBEX_HTTP_NOT_ACCEPTABLE

        public static final int OBEX_HTTP_NOT_ACCEPTABLE
        Defines the OBEX NOT ACCEPTABLE response code.

        The value of OBEX_HTTP_NOT_ACCEPTABLE is 0xC6 (198).

        See Also:
        Constant Field Values
      • OBEX_HTTP_PROXY_AUTH

        public static final int OBEX_HTTP_PROXY_AUTH
        Defines the OBEX PROXY AUTHENTICATION REQUIRED response code.

        The value of OBEX_HTTP_PROXY_AUTH is 0xC7 (199).

        See Also:
        Constant Field Values
      • OBEX_HTTP_TIMEOUT

        public static final int OBEX_HTTP_TIMEOUT
        Defines the OBEX REQUEST TIME OUT response code.

        The value of OBEX_HTTP_TIMEOUT is 0xC8 (200).

        See Also:
        Constant Field Values
      • OBEX_HTTP_CONFLICT

        public static final int OBEX_HTTP_CONFLICT
        Defines the OBEX METHOD CONFLICT response code.

        The value of OBEX_HTTP_CONFLICT is 0xC9 (201).

        See Also:
        Constant Field Values
      • OBEX_HTTP_GONE

        public static final int OBEX_HTTP_GONE
        Defines the OBEX METHOD GONE response code.

        The value of OBEX_HTTP_GONE is 0xCA (202).

        See Also:
        Constant Field Values
      • OBEX_HTTP_LENGTH_REQUIRED

        public static final int OBEX_HTTP_LENGTH_REQUIRED
        Defines the OBEX METHOD LENGTH REQUIRED response code.

        The value of OBEX_HTTP_LENGTH_REQUIRED is 0xCB (203).

        See Also:
        Constant Field Values
      • OBEX_HTTP_PRECON_FAILED

        public static final int OBEX_HTTP_PRECON_FAILED
        Defines the OBEX PRECONDITION FAILED response code.

        The value of OBEX_HTTP_PRECON_FAILED is 0xCC (204).

        See Also:
        Constant Field Values
      • OBEX_HTTP_ENTITY_TOO_LARGE

        public static final int OBEX_HTTP_ENTITY_TOO_LARGE
        Defines the OBEX REQUESTED ENTITY TOO LARGE response code.

        The value of OBEX_HTTP_ENTITY_TOO_LARGE is 0xCD (205).

        See Also:
        Constant Field Values
      • OBEX_HTTP_REQ_TOO_LARGE

        public static final int OBEX_HTTP_REQ_TOO_LARGE
        Defines the OBEX REQUESTED URL TOO LARGE response code.

        The value of OBEX_HTTP_REQ_TOO_LARGE is 0xCE (206).

        See Also:
        Constant Field Values
      • OBEX_HTTP_UNSUPPORTED_TYPE

        public static final int OBEX_HTTP_UNSUPPORTED_TYPE
        Defines the OBEX UNSUPPORTED MEDIA TYPE response code.

        The value of OBEX_HTTP_UNSUPPORTED_TYPE is 0xCF (207).

        See Also:
        Constant Field Values
      • OBEX_HTTP_INTERNAL_ERROR

        public static final int OBEX_HTTP_INTERNAL_ERROR
        Defines the OBEX INTERNAL SERVER ERROR response code.

        The value of OBEX_HTTP_INTERNAL_ERROR is 0xD0 (208).

        See Also:
        Constant Field Values
      • OBEX_HTTP_NOT_IMPLEMENTED

        public static final int OBEX_HTTP_NOT_IMPLEMENTED
        Defines the OBEX NOT IMPLEMENTED response code.

        The value of OBEX_HTTP_NOT_IMPLEMENTED is 0xD1 (209).

        See Also:
        Constant Field Values
      • OBEX_HTTP_BAD_GATEWAY

        public static final int OBEX_HTTP_BAD_GATEWAY
        Defines the OBEX BAD GATEWAY response code.

        The value of OBEX_HTTP_BAD_GATEWAY is 0xD2 (210).

        See Also:
        Constant Field Values
      • OBEX_HTTP_UNAVAILABLE

        public static final int OBEX_HTTP_UNAVAILABLE
        Defines the OBEX SERVICE UNAVAILABLE response code.

        The value of OBEX_HTTP_UNAVAILABLE is 0xD3 (211).

        See Also:
        Constant Field Values
      • OBEX_HTTP_GATEWAY_TIMEOUT

        public static final int OBEX_HTTP_GATEWAY_TIMEOUT
        Defines the OBEX GATEWAY TIMEOUT response code.

        The value of OBEX_HTTP_GATEWAY_TIMEOUT is 0xD4 (212).

        See Also:
        Constant Field Values
      • OBEX_HTTP_VERSION

        public static final int OBEX_HTTP_VERSION
        Defines the OBEX HTTP VERSION NOT SUPPORTED response code.

        The value of OBEX_HTTP_VERSION is 0xD5 (213).

        See Also:
        Constant Field Values
      • OBEX_DATABASE_FULL

        public static final int OBEX_DATABASE_FULL
        Defines the OBEX DATABASE FULL response code.

        The value of OBEX_DATABASE_FULL is 0xE0 (224).

        See Also:
        Constant Field Values
      • OBEX_DATABASE_LOCKED

        public static final int OBEX_DATABASE_LOCKED
        Defines the OBEX DATABASE LOCKED response code.

        The value of OBEX_DATABASE_LOCKED is 0xE1 (225).

        See Also:
        Constant Field Values


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 10810 / . Delta: 0.03704 с