Top Description Fields Constructors Methods
org.apache.catalina.servlets

pack-priv Class WebdavStatus

Located in compilation unit of org.apache.catalina.servlets.WebdavServlet.

extends Object
Class Inheritance

Wraps the HttpServletResponse class to abstract the specific protocol used. To support other protocols we would only need to modify this class and the WebDavRetCode classes.
Author
Marc Eaddy

Field Summary

Modifier and TypeField and Description
public static final int
SC_ACCEPTED

Status code (202) indicating that a request was accepted for processing, but was not completed.

public static final int
SC_BAD_GATEWAY

Status code (502) indicating that the HTTP server received an invalid response from a server it consulted when acting as a proxy or gateway.

public static final int
SC_BAD_REQUEST

Status code (400) indicating the request sent by the client was syntactically incorrect.

public static final int
SC_CONFLICT

Status code (409) indicating that the request could not be completed due to a conflict with the current state of the resource.

public static final int
SC_CONTINUE

Status code (100) indicating the client may continue with its request.

public static final int
SC_CREATED

Status code (201) indicating the request succeeded and created a new resource on the server.

public static final int
SC_FORBIDDEN

Status code (403) indicating the server understood the request but refused to fulfill it.

public static final int
SC_INSUFFICIENT_SPACE_ON_RESOURCE

Status code (419) indicating that the resource does not have sufficient space to record the state of the resource after the execution of this method.

public static final int
SC_INTERNAL_SERVER_ERROR

Status code (500) indicating an error inside the HTTP service which prevented it from fulfilling the request.

public static final int
SC_LOCKED

Status code (423) indicating the destination resource of a method is locked, and either the request did not contain a valid Lock-Info header, or the Lock-Info header identifies a lock held by another principal.

public static final int
SC_METHOD_FAILURE

Status code (420) indicating the method was not executed on a particular resource within its scope because some part of the method's execution failed causing the entire method to be aborted.

public static final int
SC_METHOD_NOT_ALLOWED

Status code (405) indicating the method specified is not allowed for the resource.

public static final int
SC_MOVED_PERMANENTLY

Status code (301) indicating that the resource has permanently moved to a new location, and that future references should use a new URI with their requests.

public static final int
SC_MOVED_TEMPORARILY

Status code (302) indicating that the resource has temporarily moved to another location, but that future references should still use the original URI to access the resource.

public static final int
SC_MULTI_STATUS

Status code (207) indicating that the response requires providing status for multiple independent operations.

public static final int
SC_NO_CONTENT

Status code (204) indicating that the request succeeded but that there was no new information to return.

public static final int
SC_NOT_FOUND

Status code (404) indicating that the requested resource is not available.

public static final int
SC_NOT_IMPLEMENTED

Status code (501) indicating the HTTP service does not support the functionality needed to fulfill the request.

public static final int
SC_NOT_MODIFIED

Status code (304) indicating that a conditional GET operation found that the resource was available and not modified.

public static final int
SC_OK

Status code (200) indicating the request succeeded normally.

public static final int
SC_PRECONDITION_FAILED

Status code (412) indicating the precondition given in one or more of the request-header fields evaluated to false when it was tested on the server.

public static final int
SC_REQUEST_TOO_LONG

Status code (413) indicating the server is refusing to process a request because the request entity is larger than the server is willing or able to process.

public static final int
SC_SERVICE_UNAVAILABLE

Status code (503) indicating that the HTTP service is temporarily overloaded, and unable to handle the request.

public static final int
SC_UNAUTHORIZED

Status code (401) indicating that the request requires HTTP authentication.

public static final int
SC_UNPROCESSABLE_ENTITY

Status code (418) indicating the entity body submitted with the PATCH method was not understood by the resource.

public static final int
SC_UNSUPPORTED_MEDIA_TYPE

Status code (415) indicating 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.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

SC_ACCEPTEDback to summary
public static final int SC_ACCEPTED

Status code (202) indicating that a request was accepted for processing, but was not completed.

SC_BAD_GATEWAYback to summary
public static final int SC_BAD_GATEWAY

Status code (502) indicating that the HTTP server received an invalid response from a server it consulted when acting as a proxy or gateway.

SC_BAD_REQUESTback to summary
public static final int SC_BAD_REQUEST

Status code (400) indicating the request sent by the client was syntactically incorrect.

SC_CONFLICTback to summary
public static final int SC_CONFLICT

Status code (409) indicating that the request could not be completed due to a conflict with the current state of the resource.

SC_CONTINUEback to summary
public static final int SC_CONTINUE

Status code (100) indicating the client may continue with its request. This interim response is used to inform the client that the initial part of the request has been received and has not yet been rejected by the server.

SC_CREATEDback to summary
public static final int SC_CREATED

Status code (201) indicating the request succeeded and created a new resource on the server.

SC_FORBIDDENback to summary
public static final int SC_FORBIDDEN

Status code (403) indicating the server understood the request but refused to fulfill it.

SC_INSUFFICIENT_SPACE_ON_RESOURCEback to summary
public static final int SC_INSUFFICIENT_SPACE_ON_RESOURCE

Status code (419) indicating that the resource does not have sufficient space to record the state of the resource after the execution of this method.

SC_INTERNAL_SERVER_ERRORback to summary
public static final int SC_INTERNAL_SERVER_ERROR

Status code (500) indicating an error inside the HTTP service which prevented it from fulfilling the request.

SC_LOCKEDback to summary
public static final int SC_LOCKED

Status code (423) indicating the destination resource of a method is locked, and either the request did not contain a valid Lock-Info header, or the Lock-Info header identifies a lock held by another principal.

SC_METHOD_FAILUREback to summary
public static final int SC_METHOD_FAILURE

Status code (420) indicating the method was not executed on a particular resource within its scope because some part of the method's execution failed causing the entire method to be aborted.

SC_METHOD_NOT_ALLOWEDback to summary
public static final int SC_METHOD_NOT_ALLOWED

Status code (405) indicating the method specified is not allowed for the resource.

SC_MOVED_PERMANENTLYback to summary
public static final int SC_MOVED_PERMANENTLY

Status code (301) indicating that the resource has permanently moved to a new location, and that future references should use a new URI with their requests.

SC_MOVED_TEMPORARILYback to summary
public static final int SC_MOVED_TEMPORARILY

Status code (302) indicating that the resource has temporarily moved to another location, but that future references should still use the original URI to access the resource.

SC_MULTI_STATUSback to summary
public static final int SC_MULTI_STATUS

Status code (207) indicating that the response requires providing status for multiple independent operations.

SC_NO_CONTENTback to summary
public static final int SC_NO_CONTENT

Status code (204) indicating that the request succeeded but that there was no new information to return.

SC_NOT_FOUNDback to summary
public static final int SC_NOT_FOUND

Status code (404) indicating that the requested resource is not available.

SC_NOT_IMPLEMENTEDback to summary
public static final int SC_NOT_IMPLEMENTED

Status code (501) indicating the HTTP service does not support the functionality needed to fulfill the request.

SC_NOT_MODIFIEDback to summary
public static final int SC_NOT_MODIFIED

Status code (304) indicating that a conditional GET operation found that the resource was available and not modified.

SC_OKback to summary
public static final int SC_OK

Status code (200) indicating the request succeeded normally.

SC_PRECONDITION_FAILEDback to summary
public static final int SC_PRECONDITION_FAILED

Status code (412) indicating the precondition given in one or more of the request-header fields evaluated to false when it was tested on the server.

SC_REQUEST_TOO_LONGback to summary
public static final int SC_REQUEST_TOO_LONG

Status code (413) indicating the server is refusing to process a request because the request entity is larger than the server is willing or able to process.

SC_SERVICE_UNAVAILABLEback to summary
public static final int SC_SERVICE_UNAVAILABLE

Status code (503) indicating that the HTTP service is temporarily overloaded, and unable to handle the request.

SC_UNAUTHORIZEDback to summary
public static final int SC_UNAUTHORIZED

Status code (401) indicating that the request requires HTTP authentication.

SC_UNPROCESSABLE_ENTITYback to summary
public static final int SC_UNPROCESSABLE_ENTITY

Status code (418) indicating the entity body submitted with the PATCH method was not understood by the resource.

SC_UNSUPPORTED_MEDIA_TYPEback to summary
public static final int SC_UNSUPPORTED_MEDIA_TYPE

Status code (415) indicating 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.

Constructor Detail

WebdavStatusback to summary
pack-priv WebdavStatus()