19439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly/*
29439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * Copyright (c) 2008-2009, Motorola, Inc.
39439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly *
49439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * All rights reserved.
59439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly *
69439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * Redistribution and use in source and binary forms, with or without
79439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * modification, are permitted provided that the following conditions are met:
89439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly *
99439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * - Redistributions of source code must retain the above copyright notice,
109439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * this list of conditions and the following disclaimer.
119439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly *
129439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * - Redistributions in binary form must reproduce the above copyright notice,
139439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * this list of conditions and the following disclaimer in the documentation
149439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * and/or other materials provided with the distribution.
159439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly *
169439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * - Neither the name of the Motorola, Inc. nor the names of its contributors
179439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * may be used to endorse or promote products derived from this software
189439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * without specific prior written permission.
199439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly *
209439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
219439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
229439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
239439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
249439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
259439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
269439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
279439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
289439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
299439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
309439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * POSSIBILITY OF SUCH DAMAGE.
319439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly */
329439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
339439a7fe517b858bc5e5c654b459315e4722feb2Nick Pellypackage javax.obex;
349439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
359439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly/**
3605ff98bbefda39b9ff26f8bca132cfd0248745c6Tao Liejun * The <code>ResponseCodes</code> class contains the list of valid response
3705ff98bbefda39b9ff26f8bca132cfd0248745c6Tao Liejun * codes a server may send to a client.
389439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * <P>
399439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * <STRONG>IMPORTANT NOTE</STRONG>
409439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * <P>
413998bf009acaf8cde4d7f837f8b8e41ae0a65141Tao Liejun * The values in this interface represent the values defined in the IrOBEX
423998bf009acaf8cde4d7f837f8b8e41ae0a65141Tao Liejun * specification, which is different with the HTTP specification.
439439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * <P>
449439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * <code>OBEX_DATABASE_FULL</code> and <code>OBEX_DATABASE_LOCKED</code> require
4505ff98bbefda39b9ff26f8bca132cfd0248745c6Tao Liejun * further description since they are not defined in HTTP. The server will send
469439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * an <code>OBEX_DATABASE_FULL</code> message when the client requests that
479439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * something be placed into a database but the database is full (cannot take
4805ff98bbefda39b9ff26f8bca132cfd0248745c6Tao Liejun * more data). <code>OBEX_DATABASE_LOCKED</code> will be returned when the
499439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * client wishes to access a database, database table, or database record that
509439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly * has been locked.
512e0da96e757a977154063f980d3f4e1abd41cf09Nick Pelly * @hide
529439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly */
533998bf009acaf8cde4d7f837f8b8e41ae0a65141Tao Liejunpublic final class ResponseCodes {
543998bf009acaf8cde4d7f837f8b8e41ae0a65141Tao Liejun
553998bf009acaf8cde4d7f837f8b8e41ae0a65141Tao Liejun    /**
563998bf009acaf8cde4d7f837f8b8e41ae0a65141Tao Liejun     * Defines the OBEX CONTINUE response code.
573998bf009acaf8cde4d7f837f8b8e41ae0a65141Tao Liejun     * <P>
583998bf009acaf8cde4d7f837f8b8e41ae0a65141Tao Liejun     * The value of <code>OBEX_HTTP_CONTINUE</code> is 0x90 (144).
593998bf009acaf8cde4d7f837f8b8e41ae0a65141Tao Liejun     */
603998bf009acaf8cde4d7f837f8b8e41ae0a65141Tao Liejun    public static final int OBEX_HTTP_CONTINUE = 0x90;
619439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
629439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
639439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX SUCCESS response code.
649439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
659439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_OK</code> is 0xA0 (160).
669439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
679439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_OK = 0xA0;
689439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
699439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
709439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX CREATED response code.
719439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
729439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_CREATED</code> is 0xA1 (161).
739439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
749439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_CREATED = 0xA1;
759439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
769439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
779439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX ACCEPTED response code.
789439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
799439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_ACCEPTED</code> is 0xA2 (162).
809439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
819439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_ACCEPTED = 0xA2;
829439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
839439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
849439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX NON-AUTHORITATIVE INFORMATION response code.
859439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
869439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_NOT_AUTHORITATIVE</code> is 0xA3 (163).
879439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
889439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_NOT_AUTHORITATIVE = 0xA3;
899439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
909439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
919439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX NO CONTENT response code.
929439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
939439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_NO_CONTENT</code> is 0xA4 (164).
949439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
959439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_NO_CONTENT = 0xA4;
969439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
979439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
989439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX RESET CONTENT response code.
999439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1009439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_RESET</code> is 0xA5 (165).
1019439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1029439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_RESET = 0xA5;
1039439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1049439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1059439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX PARTIAL CONTENT response code.
1069439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1079439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_PARTIAL</code> is 0xA6 (166).
1089439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1099439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_PARTIAL = 0xA6;
1109439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1119439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1129439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX MULTIPLE_CHOICES response code.
1139439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1149439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_MULT_CHOICE</code> is 0xB0 (176).
1159439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1169439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_MULT_CHOICE = 0xB0;
1179439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1189439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1199439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX MOVED PERMANENTLY response code.
1209439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1219439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_MOVED_PERM</code> is 0xB1 (177).
1229439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1239439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_MOVED_PERM = 0xB1;
1249439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1259439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1269439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX MOVED TEMPORARILY response code.
1279439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1289439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_MOVED_TEMP</code> is 0xB2 (178).
1299439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1309439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_MOVED_TEMP = 0xB2;
1319439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1329439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1339439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX SEE OTHER response code.
1349439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1359439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_SEE_OTHER</code> is 0xB3 (179).
1369439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1379439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_SEE_OTHER = 0xB3;
1389439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1399439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1409439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX NOT MODIFIED response code.
1419439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1429439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_NOT_MODIFIED</code> is 0xB4 (180).
1439439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1449439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_NOT_MODIFIED = 0xB4;
1459439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1469439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1479439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX USE PROXY response code.
1489439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1499439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_USE_PROXY</code> is 0xB5 (181).
1509439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1519439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_USE_PROXY = 0xB5;
1529439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1539439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1549439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX BAD REQUEST response code.
1559439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1569439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_BAD_REQUEST</code> is 0xC0 (192).
1579439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1589439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_BAD_REQUEST = 0xC0;
1599439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1609439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1619439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX UNAUTHORIZED response code.
1629439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1639439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_UNAUTHORIZED</code> is 0xC1 (193).
1649439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1659439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_UNAUTHORIZED = 0xC1;
1669439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1679439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1689439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX PAYMENT REQUIRED response code.
1699439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1709439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_PAYMENT_REQUIRED</code> is 0xC2 (194).
1719439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1729439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_PAYMENT_REQUIRED = 0xC2;
1739439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1749439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1759439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX FORBIDDEN response code.
1769439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1779439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_FORBIDDEN</code> is 0xC3 (195).
1789439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1799439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_FORBIDDEN = 0xC3;
1809439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1819439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1829439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX NOT FOUND response code.
1839439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1849439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_NOT_FOUND</code> is 0xC4 (196).
1859439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1869439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_NOT_FOUND = 0xC4;
1879439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1889439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1899439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX METHOD NOT ALLOWED response code.
1909439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1919439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_BAD_METHOD</code> is 0xC5 (197).
1929439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
1939439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_BAD_METHOD = 0xC5;
1949439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
1959439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
1969439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX NOT ACCEPTABLE response code.
1979439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
1989439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_NOT_ACCEPTABLE</code> is 0xC6 (198).
1999439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2009439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_NOT_ACCEPTABLE = 0xC6;
2019439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2029439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2039439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX PROXY AUTHENTICATION REQUIRED response code.
2049439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2059439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_PROXY_AUTH</code> is 0xC7 (199).
2069439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2079439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_PROXY_AUTH = 0xC7;
2089439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2099439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2109439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX REQUEST TIME OUT response code.
2119439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2129439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_TIMEOUT</code> is 0xC8 (200).
2139439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2149439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_TIMEOUT = 0xC8;
2159439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2169439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2179439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX METHOD CONFLICT response code.
2189439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2199439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_CONFLICT</code> is 0xC9 (201).
2209439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2219439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_CONFLICT = 0xC9;
2229439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2239439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2249439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX METHOD GONE response code.
2259439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2269439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_GONE</code> is 0xCA (202).
2279439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2289439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_GONE = 0xCA;
2299439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2309439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2319439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX METHOD LENGTH REQUIRED response code.
2329439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2339439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_LENGTH_REQUIRED</code> is 0xCB (203).
2349439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2359439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_LENGTH_REQUIRED = 0xCB;
2369439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2379439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2389439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX PRECONDITION FAILED response code.
2399439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2409439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_PRECON_FAILED</code> is 0xCC (204).
2419439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2429439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_PRECON_FAILED = 0xCC;
2439439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2449439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2459439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX REQUESTED ENTITY TOO LARGE response code.
2469439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2479439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_ENTITY_TOO_LARGE</code> is 0xCD (205).
2489439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2499439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_ENTITY_TOO_LARGE = 0xCD;
2509439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2519439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2529439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX REQUESTED URL TOO LARGE response code.
2539439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2549439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_REQ_TOO_LARGE</code> is 0xCE (206).
2559439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2569439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_REQ_TOO_LARGE = 0xCE;
2579439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2589439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2599439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX UNSUPPORTED MEDIA TYPE response code.
2609439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2619439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_UNSUPPORTED_TYPE</code> is 0xCF (207).
2629439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2639439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_UNSUPPORTED_TYPE = 0xCF;
2649439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2659439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2669439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX INTERNAL SERVER ERROR response code.
2679439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2689439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_INTERNAL_ERROR</code> is 0xD0 (208).
2699439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2709439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_INTERNAL_ERROR = 0xD0;
2719439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2729439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2739439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX NOT IMPLEMENTED response code.
2749439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2759439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_NOT_IMPLEMENTED</code> is 0xD1 (209).
2769439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2779439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_NOT_IMPLEMENTED = 0xD1;
2789439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2799439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2809439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX BAD GATEWAY response code.
2819439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2829439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_BAD_GATEWAY</code> is 0xD2 (210).
2839439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2849439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_BAD_GATEWAY = 0xD2;
2859439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2869439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2879439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX SERVICE UNAVAILABLE response code.
2889439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2899439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_UNAVAILABLE</code> is 0xD3 (211).
2909439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2919439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_UNAVAILABLE = 0xD3;
2929439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
2939439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
2949439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX GATEWAY TIMEOUT response code.
2959439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
2969439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_GATEWAY_TIMEOUT</code> is 0xD4 (212).
2979439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
2989439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_GATEWAY_TIMEOUT = 0xD4;
2999439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
3009439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
3019439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX HTTP VERSION NOT SUPPORTED response code.
3029439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
3039439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_HTTP_VERSION</code> is 0xD5 (213).
3049439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
3059439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_HTTP_VERSION = 0xD5;
3069439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
3079439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
3089439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX DATABASE FULL response code.
3099439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
3109439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_DATABASE_FULL</code> is 0xE0 (224).
3119439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
3129439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_DATABASE_FULL = 0xE0;
3139439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
3149439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
3159439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Defines the OBEX DATABASE LOCKED response code.
3169439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * <P>
3179439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * The value of <code>OBEX_DATABASE_LOCKED</code> is 0xE1 (225).
3189439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
3199439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    public static final int OBEX_DATABASE_LOCKED = 0xE1;
3209439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly
3219439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly    /**
3229439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     * Constructor does nothing.
3239439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly     */
3243998bf009acaf8cde4d7f837f8b8e41ae0a65141Tao Liejun    private ResponseCodes() {
3253998bf009acaf8cde4d7f837f8b8e41ae0a65141Tao Liejun    }
3269439a7fe517b858bc5e5c654b459315e4722feb2Nick Pelly}
327