< prev index next >

src/jdk.httpserver/share/classes/sun/net/httpserver/Code.java

Print this page




  86         case HTTP_PAYMENT_REQUIRED: return " Payment Required";
  87         case HTTP_FORBIDDEN: return " Forbidden";
  88         case HTTP_NOT_FOUND: return " Not Found";
  89         case HTTP_BAD_METHOD: return " Method Not Allowed";
  90         case HTTP_NOT_ACCEPTABLE: return " Not Acceptable";
  91         case HTTP_PROXY_AUTH: return " Proxy Authentication Required";
  92         case HTTP_CLIENT_TIMEOUT: return " Request Time-Out";
  93         case HTTP_CONFLICT: return " Conflict";
  94         case HTTP_GONE: return " Gone";
  95         case HTTP_LENGTH_REQUIRED: return " Length Required";
  96         case HTTP_PRECON_FAILED: return " Precondition Failed";
  97         case HTTP_ENTITY_TOO_LARGE: return " Request Entity Too Large";
  98         case HTTP_REQ_TOO_LONG: return " Request-URI Too Large";
  99         case HTTP_UNSUPPORTED_TYPE: return " Unsupported Media Type";
 100         case HTTP_INTERNAL_ERROR: return " Internal Server Error";
 101         case HTTP_NOT_IMPLEMENTED: return " Not Implemented";
 102         case HTTP_BAD_GATEWAY: return " Bad Gateway";
 103         case HTTP_UNAVAILABLE: return " Service Unavailable";
 104         case HTTP_GATEWAY_TIMEOUT: return " Gateway Timeout";
 105         case HTTP_VERSION: return " HTTP Version Not Supported";
 106         default: return "";
 107       }
 108     }
 109 }


  86         case HTTP_PAYMENT_REQUIRED: return " Payment Required";
  87         case HTTP_FORBIDDEN: return " Forbidden";
  88         case HTTP_NOT_FOUND: return " Not Found";
  89         case HTTP_BAD_METHOD: return " Method Not Allowed";
  90         case HTTP_NOT_ACCEPTABLE: return " Not Acceptable";
  91         case HTTP_PROXY_AUTH: return " Proxy Authentication Required";
  92         case HTTP_CLIENT_TIMEOUT: return " Request Time-Out";
  93         case HTTP_CONFLICT: return " Conflict";
  94         case HTTP_GONE: return " Gone";
  95         case HTTP_LENGTH_REQUIRED: return " Length Required";
  96         case HTTP_PRECON_FAILED: return " Precondition Failed";
  97         case HTTP_ENTITY_TOO_LARGE: return " Request Entity Too Large";
  98         case HTTP_REQ_TOO_LONG: return " Request-URI Too Large";
  99         case HTTP_UNSUPPORTED_TYPE: return " Unsupported Media Type";
 100         case HTTP_INTERNAL_ERROR: return " Internal Server Error";
 101         case HTTP_NOT_IMPLEMENTED: return " Not Implemented";
 102         case HTTP_BAD_GATEWAY: return " Bad Gateway";
 103         case HTTP_UNAVAILABLE: return " Service Unavailable";
 104         case HTTP_GATEWAY_TIMEOUT: return " Gateway Timeout";
 105         case HTTP_VERSION: return " HTTP Version Not Supported";
 106         default: return " ";
 107       }
 108     }
 109 }
< prev index next >