Java Reference
In-Depth Information
This field represents a status code of (404), indicating that the requested resource is not avail-
able.
The
SC_METHOD_NOT_ALLOWED
Field
public static final int SC_METHOD_NOT_ALLOWED
This field represents a status code of (405), indicating that the method specified in the
Request-Line
is not allowed for the resource identified by the
Request-URI
.
The
SC_NOT_ACCEPTABLE
Field
public static final int SC_NOT_ACCEPTABLE
C
This field represents a status code of (406), indicating that the resource identified by the
request is only capable of generating response entities which have content characteristics not
acceptable according to the accept headers sent in the request.
The
SC_PROXY_AUTHENTICATION_REQUIRED
Field
public static final int SC_PROXY_AUTHENTICATION_REQUIRED
This field represents a status code of (407), indicating that the client must first authenticate
itself with the proxy.
The
SC_REQUEST_TIMEOUT
Field
public static final int SC_REQUEST_TIMEOUT
This field represents a status code of (408), indicating that the client did not produce a request
within the time that the server was prepared to wait.
The
SC_CONFLICT
Field
public static final int SC_CONFLICT
This field represents a status code of (409), indicating that the request could not be completed
because of a conflict with the current state of the resource.
The
SC_GONE
Field
public static final int SC_GONE
This field represents a status code of (410), indicating that the resource is no longer available
at the server and no forwarding address is known. This condition should be considered perma-
nent.
The
SC_LENGTH_REQUIRED
Field
public static final int SC_LENGTH_REQUIRED