001: /*
002: *
003: *
004: * Portions Copyright 2000-2007 Sun Microsystems, Inc. All Rights
005: * Reserved. Use is subject to license terms.
006: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
007: *
008: * This program is free software; you can redistribute it and/or
009: * modify it under the terms of the GNU General Public License version
010: * 2 only, as published by the Free Software Foundation.
011: *
012: * This program is distributed in the hope that it will be useful, but
013: * WITHOUT ANY WARRANTY; without even the implied warranty of
014: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015: * General Public License version 2 for more details (a copy is
016: * included at /legal/license.txt).
017: *
018: * You should have received a copy of the GNU General Public License
019: * version 2 along with this work; if not, write to the Free Software
020: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
021: * 02110-1301 USA
022: *
023: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
024: * Clara, CA 95054 or visit www.sun.com if you need additional
025: * information or have any questions.
026: */
027:
028: /*
029: * (c) Copyright 2001, 2002 Motorola, Inc. ALL RIGHTS RESERVED.
030: */
031: package javax.obex;
032:
033: /**
034: * This class is defined by the JSR-82 specification
035: * <em>Java™ APIs for Bluetooth™ Wireless Technology,
036: * Version 1.1.</em>
037: */
038: // JAVADOC COMMENT ELIDED
039: public class ResponseCodes {
040:
041: // JAVADOC COMMENT ELIDED
042: public static final int OBEX_HTTP_OK = 0xA0;
043:
044: // JAVADOC COMMENT ELIDED
045: public static final int OBEX_HTTP_CREATED = 0xA1;
046:
047: // JAVADOC COMMENT ELIDED
048: public static final int OBEX_HTTP_ACCEPTED = 0xA2;
049:
050: // JAVADOC COMMENT ELIDED
051: public static final int OBEX_HTTP_NOT_AUTHORITATIVE = 0xA3;
052:
053: // JAVADOC COMMENT ELIDED
054: public static final int OBEX_HTTP_NO_CONTENT = 0xA4;
055:
056: // JAVADOC COMMENT ELIDED
057: public static final int OBEX_HTTP_RESET = 0xA5;
058:
059: // JAVADOC COMMENT ELIDED
060: public static final int OBEX_HTTP_PARTIAL = 0xA6;
061:
062: // JAVADOC COMMENT ELIDED
063: public static final int OBEX_HTTP_MULT_CHOICE = 0xB0;
064:
065: // JAVADOC COMMENT ELIDED
066: public static final int OBEX_HTTP_MOVED_PERM = 0xB1;
067:
068: // JAVADOC COMMENT ELIDED
069: public static final int OBEX_HTTP_MOVED_TEMP = 0xB2;
070:
071: // JAVADOC COMMENT ELIDED
072: public static final int OBEX_HTTP_SEE_OTHER = 0xB3;
073:
074: // JAVADOC COMMENT ELIDED
075: public static final int OBEX_HTTP_NOT_MODIFIED = 0xB4;
076:
077: // JAVADOC COMMENT ELIDED
078: public static final int OBEX_HTTP_USE_PROXY = 0xB5;
079:
080: // JAVADOC COMMENT ELIDED
081: public static final int OBEX_HTTP_BAD_REQUEST = 0xC0;
082:
083: // JAVADOC COMMENT ELIDED
084: public static final int OBEX_HTTP_UNAUTHORIZED = 0xC1;
085:
086: // JAVADOC COMMENT ELIDED
087: public static final int OBEX_HTTP_PAYMENT_REQUIRED = 0xC2;
088:
089: // JAVADOC COMMENT ELIDED
090: public static final int OBEX_HTTP_FORBIDDEN = 0xC3;
091:
092: // JAVADOC COMMENT ELIDED
093: public static final int OBEX_HTTP_NOT_FOUND = 0xC4;
094:
095: // JAVADOC COMMENT ELIDED
096: public static final int OBEX_HTTP_BAD_METHOD = 0xC5;
097:
098: // JAVADOC COMMENT ELIDED
099: public static final int OBEX_HTTP_NOT_ACCEPTABLE = 0xC6;
100:
101: // JAVADOC COMMENT ELIDED
102: public static final int OBEX_HTTP_PROXY_AUTH = 0xC7;
103:
104: // JAVADOC COMMENT ELIDED
105: public static final int OBEX_HTTP_TIMEOUT = 0xC8;
106:
107: // JAVADOC COMMENT ELIDED
108: public static final int OBEX_HTTP_CONFLICT = 0xC9;
109:
110: // JAVADOC COMMENT ELIDED
111: public static final int OBEX_HTTP_GONE = 0xCA;
112:
113: // JAVADOC COMMENT ELIDED
114: public static final int OBEX_HTTP_LENGTH_REQUIRED = 0xCB;
115:
116: // JAVADOC COMMENT ELIDED
117: public static final int OBEX_HTTP_PRECON_FAILED = 0xCC;
118:
119: // JAVADOC COMMENT ELIDED
120: public static final int OBEX_HTTP_ENTITY_TOO_LARGE = 0xCD;
121:
122: // JAVADOC COMMENT ELIDED
123: public static final int OBEX_HTTP_REQ_TOO_LARGE = 0xCE;
124:
125: // JAVADOC COMMENT ELIDED
126: public static final int OBEX_HTTP_UNSUPPORTED_TYPE = 0xCF;
127:
128: // JAVADOC COMMENT ELIDED
129: public static final int OBEX_HTTP_INTERNAL_ERROR = 0xD0;
130:
131: // JAVADOC COMMENT ELIDED
132: public static final int OBEX_HTTP_NOT_IMPLEMENTED = 0xD1;
133:
134: // JAVADOC COMMENT ELIDED
135: public static final int OBEX_HTTP_BAD_GATEWAY = 0xD2;
136:
137: // JAVADOC COMMENT ELIDED
138: public static final int OBEX_HTTP_UNAVAILABLE = 0xD3;
139:
140: // JAVADOC COMMENT ELIDED
141: public static final int OBEX_HTTP_GATEWAY_TIMEOUT = 0xD4;
142:
143: // JAVADOC COMMENT ELIDED
144: public static final int OBEX_HTTP_VERSION = 0xD5;
145:
146: // JAVADOC COMMENT ELIDED
147: public static final int OBEX_DATABASE_FULL = 0xE0;
148:
149: // JAVADOC COMMENT ELIDED
150: public static final int OBEX_DATABASE_LOCKED = 0xE1;
151:
152: // JAVADOC COMMENT ELIDED
153: private ResponseCodes() {
154: }
155: }
|