javaextensions/bluetooth/bluecove/javasrc/javax/obex/ResponseCodes.java
changeset 21 2a9601315dfc
equal deleted inserted replaced
18:e8e63152f320 21:2a9601315dfc
       
     1 /**
       
     2  *  BlueCove - Java library for Bluetooth
       
     3  * 
       
     4  *  Java docs licensed under the Apache License, Version 2.0
       
     5  *  http://www.apache.org/licenses/LICENSE-2.0 
       
     6  *   (c) Copyright 2001, 2002 Motorola, Inc.  ALL RIGHTS RESERVED.
       
     7  *
       
     8  *  Licensed to the Apache Software Foundation (ASF) under one
       
     9  *  or more contributor license agreements.  See the NOTICE file
       
    10  *  distributed with this work for additional information
       
    11  *  regarding copyright ownership.  The ASF licenses this file
       
    12  *  to you under the Apache License, Version 2.0 (the
       
    13  *  "License"); you may not use this file except in compliance
       
    14  *  with the License.  You may obtain a copy of the License at
       
    15  *
       
    16  *    http://www.apache.org/licenses/LICENSE-2.0
       
    17  *
       
    18  *  Unless required by applicable law or agreed to in writing,
       
    19  *  software distributed under the License is distributed on an
       
    20  *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
       
    21  *  KIND, either express or implied.  See the License for the
       
    22  *  specific language governing permissions and limitations
       
    23  *  under the License.
       
    24  *
       
    25  *  @version $Id: ResponseCodes.java 2532 2008-12-09 20:23:14Z skarzhevskyy $  
       
    26  */
       
    27 package javax.obex;
       
    28 
       
    29 /**
       
    30  * Please refer JSR-82
       
    31  */
       
    32 public class ResponseCodes {
       
    33 
       
    34     /**
       
    35      * Please refer JSR-82
       
    36      */
       
    37     public static final int OBEX_HTTP_OK = 0xA0;
       
    38 
       
    39     /**
       
    40      * Please refer JSR-82
       
    41      */
       
    42     public static final int OBEX_HTTP_CREATED = 0xA1;
       
    43 
       
    44     /**
       
    45      * Please refer JSR-82
       
    46      */
       
    47     public static final int OBEX_HTTP_ACCEPTED = 0xA2;
       
    48 
       
    49     /**
       
    50      * Please refer JSR-82
       
    51      */
       
    52     public static final int OBEX_HTTP_NOT_AUTHORITATIVE = 0xA3;
       
    53 
       
    54     /**
       
    55      * Please refer JSR-82
       
    56      */
       
    57     public static final int OBEX_HTTP_NO_CONTENT = 0xA4;
       
    58 
       
    59     /**
       
    60      * Please refer JSR-82
       
    61      */
       
    62     public static final int OBEX_HTTP_RESET = 0xA5;
       
    63 
       
    64     /**
       
    65      * Please refer JSR-82
       
    66      */
       
    67     public static final int OBEX_HTTP_PARTIAL = 0xA6;
       
    68 
       
    69     /**
       
    70      * Please refer JSR-82
       
    71      */
       
    72     public static final int OBEX_HTTP_MULT_CHOICE = 0xB0;
       
    73 
       
    74     /**
       
    75      * Please refer JSR-82
       
    76      */
       
    77     public static final int OBEX_HTTP_MOVED_PERM = 0xB1;
       
    78 
       
    79     /**
       
    80      * Please refer JSR-82
       
    81      */
       
    82     public static final int OBEX_HTTP_MOVED_TEMP = 0xB2;
       
    83 
       
    84     /**
       
    85      * Please refer JSR-82
       
    86      */
       
    87     public static final int OBEX_HTTP_SEE_OTHER = 0xB3;
       
    88 
       
    89     /**
       
    90      * Please refer JSR-82
       
    91      */
       
    92     public static final int OBEX_HTTP_NOT_MODIFIED = 0xB4;
       
    93 
       
    94     /**
       
    95      * Please refer JSR-82
       
    96      */
       
    97     public static final int OBEX_HTTP_USE_PROXY = 0xB5;
       
    98 
       
    99     /**
       
   100      * Please refer JSR-82
       
   101      */
       
   102     public static final int OBEX_HTTP_BAD_REQUEST = 0xC0;
       
   103 
       
   104     /**
       
   105      * Please refer JSR-82
       
   106      */
       
   107     public static final int OBEX_HTTP_UNAUTHORIZED = 0xC1;
       
   108 
       
   109     /**
       
   110      * Please refer JSR-82
       
   111      */
       
   112     public static final int OBEX_HTTP_PAYMENT_REQUIRED = 0xC2;
       
   113 
       
   114     /**
       
   115      * Please refer JSR-82
       
   116      */
       
   117     public static final int OBEX_HTTP_FORBIDDEN = 0xC3;
       
   118 
       
   119     /**
       
   120      * Please refer JSR-82
       
   121      */
       
   122     public static final int OBEX_HTTP_NOT_FOUND = 0xC4;
       
   123 
       
   124     /**
       
   125      * Please refer JSR-82
       
   126      */
       
   127     public static final int OBEX_HTTP_BAD_METHOD = 0xC5;
       
   128 
       
   129     /**
       
   130      * Please refer JSR-82
       
   131      */
       
   132     public static final int OBEX_HTTP_NOT_ACCEPTABLE = 0xC6;
       
   133 
       
   134     /**
       
   135      * Please refer JSR-82
       
   136      */
       
   137     public static final int OBEX_HTTP_PROXY_AUTH = 0xC7;
       
   138 
       
   139     /**
       
   140      * Please refer JSR-82
       
   141      */
       
   142     public static final int OBEX_HTTP_TIMEOUT = 0xC8;
       
   143 
       
   144     /**
       
   145      * Please refer JSR-82
       
   146      */
       
   147     public static final int OBEX_HTTP_CONFLICT = 0xC9;
       
   148 
       
   149     /**
       
   150      * Please refer JSR-82
       
   151      */
       
   152     public static final int OBEX_HTTP_GONE = 0xCA;
       
   153 
       
   154     /**
       
   155      * Please refer JSR-82
       
   156      */
       
   157     public static final int OBEX_HTTP_LENGTH_REQUIRED = 0xCB;
       
   158 
       
   159     /**
       
   160      * Please refer JSR-82
       
   161      */
       
   162     public static final int OBEX_HTTP_PRECON_FAILED = 0xCC;
       
   163 
       
   164     /**
       
   165      * Please refer JSR-82
       
   166      */
       
   167     public static final int OBEX_HTTP_ENTITY_TOO_LARGE = 0xCD;
       
   168 
       
   169     /**
       
   170      * Please refer JSR-82
       
   171      */
       
   172     public static final int OBEX_HTTP_REQ_TOO_LARGE = 0xCE;
       
   173 
       
   174     /**
       
   175      * Please refer JSR-82
       
   176      */
       
   177     public static final int OBEX_HTTP_UNSUPPORTED_TYPE = 0xCF;
       
   178 
       
   179     /**
       
   180      * Please refer JSR-82
       
   181      */
       
   182     public static final int OBEX_HTTP_INTERNAL_ERROR = 0xD0;
       
   183 
       
   184     /**
       
   185      * Please refer JSR-82
       
   186      */
       
   187     public static final int OBEX_HTTP_NOT_IMPLEMENTED = 0xD1;
       
   188 
       
   189     /**
       
   190      * Please refer JSR-82
       
   191      */
       
   192     public static final int OBEX_HTTP_BAD_GATEWAY = 0xD2;
       
   193 
       
   194     /**
       
   195      * Please refer JSR-82
       
   196      */
       
   197     public static final int OBEX_HTTP_UNAVAILABLE = 0xD3;
       
   198 
       
   199     /**
       
   200      * Please refer JSR-82
       
   201      */
       
   202     public static final int OBEX_HTTP_GATEWAY_TIMEOUT = 0xD4;
       
   203 
       
   204     /**
       
   205      * Please refer JSR-82
       
   206      */
       
   207     public static final int OBEX_HTTP_VERSION = 0xD5;
       
   208 
       
   209     /**
       
   210      * Please refer JSR-82
       
   211      */
       
   212     public static final int OBEX_DATABASE_FULL = 0xE0;
       
   213 
       
   214     /**
       
   215      * Please refer JSR-82
       
   216      */
       
   217     public static final int OBEX_DATABASE_LOCKED = 0xE1;
       
   218 
       
   219     /**
       
   220      * Constructor does nothing.
       
   221      */
       
   222     private ResponseCodes() {
       
   223         throw new RuntimeException("Not Implemented! Used to compile Code");
       
   224     }
       
   225 }