Java Reference
In-Depth Information
This field represents a status code of (411), indicating that the request cannot be handled with-
out a defined Content-Length .
The SC_PRECONDITION_FAILED Field
public static final int SC_PRECONDITION_FAILED
This field represents a status code of (412), indicating that the precondition given in one or
more of the request-header fields evaluated to false when it was tested on the server.
The SC_REQUEST_ENTITY_TOO_LARGE Field
public static final int SC_REQUEST_ENTITY_TOO_LARGE
This field represents a status code of (413), indicating that the server is refusing to process the
request because the request entity is larger than the server is willing or able to process.
The SC_REQUEST_URI_TOO_LONG Field
public static final int SC_REQUEST_URI_TOO_LONG
This field represents a status code of (414), indicating that the server is refusing to service the
request because the Request-URI is longer than the server is willing to interpret.
The SC_UNSUPPORTED_MEDIA_TYPE Field
public static final int SC_UNSUPPORTED_MEDIA_TYPE
This field represents a status code of (415), indicating that the server is refusing to service the
request because the entity of the request is in a format not supported by the requested resource
for the requested method.
The SC_INTERNAL_SERVER_ERROR Field
public static final int SC_INTERNAL_SERVER_ERROR
This field represents a status code of (500), indicating an error inside the HTTP server that pre-
vented it from fulfilling the request.
The SC_NOT_IMPLEMENTED Field
public static final int SC_NOT_IMPLEMENTED
This field represents a status code of (501), indicating the HTTP server does not support the
functionality needed to fulfill the request.
The SC_BAD_GATEWAY Field
public static final int SC_BAD_GATEWAY
This field represents a status code of (502), indicating that the HTTP server received an invalid
response from a server it consulted when acting as a proxy or gateway.
Search WWH ::




Custom Search