response code : Java Glossary

go to home page R words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all) ©1996-2009 Roedy Green, Canadian Mind Products
response code
Everyone is familiar with error 404 not found. The codes are arranged in bands:
HTTP Response Codes
Code HttpURLConnection
Constant
Meaning
200 HTTP_OK OK
201 HTTP_CREATED Created
202 HTTP_ACCEPTED Accepted
203 HTTP_NOT_AUTHORITATIVE Non-Authoritative Information
204 HTTP_NO_CONTENT No Content
205 HTTP_RESET Reset Content
206 HTTP_PARTIAL Partial Content
300 HTTP_MULT_CHOICE Multiple Choices
301 HTTP_MOVED_PERM Moved Permanently
302 HTTP_MOVED_TEMP Temporary Redirect
303 HTTP_SEE_OTHER See Other
304 HTTP_NOT_MODIFIED Not Modified since last time you requested the page, presuming you still have the previous copy.
305 HTTP_USE_PROXY Use Proxy
400 HTTP_BAD_REQUEST Bad Request
401 HTTP_UNAUTHORIZED Unauthorized
402 HTTP_PAYMENT_REQUIRED Payment Required
403 HTTP_FORBIDDEN Forbidden
404 HTTP_NOT_FOUND Not Found
405 HTTP_BAD_METHOD Method Not Allowed
406 HTTP_NOT_ACCEPTABLE Not Acceptable
407 HTTP_PROXY_AUTH Proxy Authentication Required
408 HTTP_CLIENT_TIMEOUT Request Time-Out
409 HTTP_CONFLICT Conflict
410 HTTP_GONE Gone
411 HTTP_LENGTH_REQUIRED Length Required
412 HTTP_PRECON_FAILED Precondition Failed
413 HTTP_ENTITY_TOO_LARGE Request Entity Too Large
414 HTTP_REQ_TOO_LONG Request-URI Too Large
415 HTTP_UNSUPPORTED_TYPE Unsupported Media Type
500 HTTP_SERVER_ERROR Internal Server Error
500 HTTP_INTERNAL_ERROR Internal Server Error
501 HTTP_NOT_IMPLEMENTED Not Implemented
502 HTTP_BAD_GATEWAY Bad Gateway
503 HTTP_UNAVAILABLE Service Unavailable
504 HTTP_GATEWAY_TIMEOUT Gateway Timeout
505 HTTP_VERSION HTTP Version Not Supported
There are other HTTP errors in the series documented as part of HttpURLConnection and HttpServletResponse.
Sun’s Javadoc on getResponseMessage class : available:
Sun’s Javadoc on HTTP response codes : available:
Server HTTP response codes : available:


CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/responsecode.html J:\mindprod\jgloss\responsecode.html
CMP logofeedback Please email your feedback for publication, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.191.105]
You are visitor number 8,477.