Class WebDavStatus
java.lang.Object
com.ithit.webdav.server.exceptions.WebDavStatus
Various status to describe operation result for an item.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final WebDavStatus
Access denied.static final WebDavStatus
static final WebDavStatus
Conflict.static final WebDavStatus
static final WebDavStatus
static final WebDavStatus
static final WebDavStatus
static final WebDavStatus
static final WebDavStatus
static final WebDavStatus
static final WebDavStatus
static final WebDavStatus
static final WebDavStatus
static final WebDavStatus
static final WebDavStatus
static final WebDavStatus
static final WebDavStatus
OK.static final WebDavStatus
static final WebDavStatus
static final WebDavStatus
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCode()
Retrieves code.Retrieves description.Retrieves string to be put in response.
-
Field Details
-
OK
OK. -
ACCESS_DENIED
Access denied. -
CONFLICT
Conflict. -
CREATED
-
FAILED_DEPENDENCY
-
LOCKED
-
NO_CONTENT
-
NOT_ALLOWED
-
PRECONDITION_FAILED
-
INTERNAL_ERROR
-
BAD_REQUEST
-
MULTISTATUS
-
NOT_FOUND
-
METHOD_NOT_ALLOWED
-
NOT_MODIFIED
-
PARTIAL_CONTENT
-
FORBIDDEN
-
NOT_IMPLEMENTED
-
UNSUPPORTED_MEDIA_TYPE
-
INSUFFICIENT_STORAGE
-
-
Constructor Details
-
WebDavStatus
Initializes instance.- Parameters:
code
- HTTP Code.description
- Description.
-
-
Method Details
-
getCode
public int getCode()Retrieves code.- Returns:
- HTTP code.
-
getDescription
Retrieves description.- Returns:
- Description.
-
getHttpString
Retrieves string to be put in response.- Returns:
- String to be put in response.
-