Java Reference
In-Depth Information
The
SC_SEE_OTHER
Field
public static final int SC_SEE_OTHER
This field represents a status code of (303), indicating that the response to the request can be
found under a different URI.
The
SC_NOT_MODIFIED
Field
public static final int SC_NOT_MODIFIED
Thistus code of (304), indicating that a conditional
GET
operation found that the resource was
available and not modified.
The
SC_USE_PROXY
Field
public static final int SC_USE_PROXY
This field represents a status code of (305), indicating that the requested resource must be
accessed through the proxy given by the location field.
The
SC_BAD_REQUEST
Field
public static final int SC_BAD_REQUEST
This field represents a status code of (400), indicating the request sent by the client was syntac-
tically incorrect.
The
SC_UNAUTHORIZED
Field
public static final int SC_UNAUTHORIZED
This field represents a status code of (401), indicating that the request requires HTTP authenti-
cation.
The
SC_PAYMENT_REQUIRED
Field
public static final int SC_PAYMENT_REQUIRED
This field represents a status code of (402) for future use.
The
SC_FORBIDDEN
Field
public static final int SC_FORBIDDEN
This field represents a status code of (403), indicating the server understood the request but
refused to fulfill it.
The
SC_NOT_FOUND
Field
public static final int SC_NOT_FOUND