java.lang.Object
org.apache.jackrabbit.webdav.DavMethods
DavMethods
defines constants for the WebDAV METHODS.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The webdav ACL method and public constant defined by RFC 3744static final int
The webdav BASELINE-CONTROL method and public constant defined by RFC 3253static final int
The webdav BIND method and public constant defined by the BIND specificationstatic final int
The webdav CHECKIN method and public constant defined by RFC 3253static final int
The webdav CHECKOUT method and public constant defined by RFC 3253static final int
The webdav COPY method and public constant as defined by RFC 2518static final int
The webdav DELETE method and public constantstatic final int
The webdav GET method and public constantstatic final int
The webdav HEAD method and public constantstatic final int
The webdav LABEL method and public constant defined by RFC 3253static final int
The webdav LOCK method and public constant as defined by RFC 2518static final int
The webdav MERGE method and public constant defined by RFC 3253static final int
The webdav MKACTIVITY method and public constant defined by RFC 3253static final int
The webdav MKCOL (make collection) method and public constant as defined by RFC 2518static final int
The webdav MKWORKSPACE method and public constant defined by RFC 3253static final int
The webdav MOVE method and public constant as defined by RFC 2518static final int
The webdav OPTIONS method and public constantstatic final int
The webdav ORDERPATCH method and public constant defined by RFC 3648.static final int
The webdav POLL method and public constant
NOTE: This method is not defined by any of the Webdav RFCsstatic final int
The webdav POST method and public constantstatic final int
The webdav PROPFIND method and public constant as defined by RFC 2518.static final int
The webdav PROPPATCH method and public constant as defined by RFC 2518static final int
The webdav PUT method and public constantstatic final int
The webdav REBIND method and public constant defined by the BIND specificationstatic final int
The webdav REPORT method and public constant defined by RFC 3253static final int
The webdav SEARCH method and public constant as defined by the Webdav Search internet draft.static final int
The webdav SUBSCRIBE method and public constant.
NOTE: This method is not defined by any of the Webdav RFCsstatic final int
The webdav UNBIND method and public constant defined by the BIND specificationstatic final int
The webdav UNCHECKOUT method and public constant defined by RFC 3253static final int
The webdav UNLOCK method and public constant as defined by RFC 2518static final int
The webdav UNSUBSCRIBE method and public constant
NOTE: This method is not defined by any of the Webdav RFCsstatic final int
The webdav UPDATE method and public constant defined by RFC 3253static final int
The webdav VERSION-CONTROL method and public constant defined by RFC 3253static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getMethodCode
(String method) Returns webdav method type code, error result <= 0 Valid type codes > 0static boolean
Returnstrue
if the request is to create a collection resource.static boolean
isCreateRequest
(DavServletRequest request) Returnstrue
if the request is to create a resource.static boolean
isDeltaVMethod
(DavServletRequest request) Returns true, if the specified method is defined by RFC 3253static boolean
isMethodAffectedByLabel
(DavServletRequest request) Returns true, if the specified method is affected by a Label header
-
Field Details
-
DAV_OPTIONS
public static final int DAV_OPTIONSThe webdav OPTIONS method and public constant- See Also:
-
METHOD_OPTIONS
- See Also:
-
DAV_GET
public static final int DAV_GETThe webdav GET method and public constant- See Also:
-
METHOD_GET
- See Also:
-
DAV_HEAD
public static final int DAV_HEADThe webdav HEAD method and public constant- See Also:
-
METHOD_HEAD
- See Also:
-
DAV_POST
public static final int DAV_POSTThe webdav POST method and public constant- See Also:
-
METHOD_POST
- See Also:
-
DAV_DELETE
public static final int DAV_DELETEThe webdav DELETE method and public constant- See Also:
-
METHOD_DELETE
- See Also:
-
DAV_PUT
public static final int DAV_PUTThe webdav PUT method and public constant- See Also:
-
METHOD_PUT
- See Also:
-
DAV_PROPFIND
public static final int DAV_PROPFINDThe webdav PROPFIND method and public constant as defined by RFC 2518.- See Also:
-
METHOD_PROPFIND
- See Also:
-
DAV_PROPPATCH
public static final int DAV_PROPPATCHThe webdav PROPPATCH method and public constant as defined by RFC 2518- See Also:
-
METHOD_PROPPATCH
- See Also:
-
DAV_MKCOL
public static final int DAV_MKCOLThe webdav MKCOL (make collection) method and public constant as defined by RFC 2518- See Also:
-
METHOD_MKCOL
- See Also:
-
DAV_COPY
public static final int DAV_COPYThe webdav COPY method and public constant as defined by RFC 2518- See Also:
-
METHOD_COPY
- See Also:
-
DAV_MOVE
public static final int DAV_MOVEThe webdav MOVE method and public constant as defined by RFC 2518- See Also:
-
METHOD_MOVE
- See Also:
-
DAV_LOCK
public static final int DAV_LOCKThe webdav LOCK method and public constant as defined by RFC 2518- See Also:
-
METHOD_LOCK
- See Also:
-
DAV_UNLOCK
public static final int DAV_UNLOCKThe webdav UNLOCK method and public constant as defined by RFC 2518- See Also:
-
METHOD_UNLOCK
- See Also:
-
DAV_ORDERPATCH
public static final int DAV_ORDERPATCHThe webdav ORDERPATCH method and public constant defined by RFC 3648.- See Also:
-
METHOD_ORDERPATCH
- See Also:
-
DAV_SUBSCRIBE
public static final int DAV_SUBSCRIBEThe webdav SUBSCRIBE method and public constant.
NOTE: This method is not defined by any of the Webdav RFCs- See Also:
-
METHOD_SUBSCRIBE
- See Also:
-
DAV_UNSUBSCRIBE
public static final int DAV_UNSUBSCRIBEThe webdav UNSUBSCRIBE method and public constant
NOTE: This method is not defined by any of the Webdav RFCs- See Also:
-
METHOD_UNSUBSCRIBE
- See Also:
-
DAV_POLL
public static final int DAV_POLLThe webdav POLL method and public constant
NOTE: This method is not defined by any of the Webdav RFCs- See Also:
-
METHOD_POLL
- See Also:
-
DAV_SEARCH
public static final int DAV_SEARCHThe webdav SEARCH method and public constant as defined by the Webdav Search internet draft.- See Also:
-
METHOD_SEARCH
- See Also:
-
DAV_REPORT
public static final int DAV_REPORTThe webdav REPORT method and public constant defined by RFC 3253- See Also:
-
METHOD_REPORT
- See Also:
-
DAV_VERSION_CONTROL
public static final int DAV_VERSION_CONTROLThe webdav VERSION-CONTROL method and public constant defined by RFC 3253- See Also:
-
METHOD_VERSION_CONTROL
- See Also:
-
DAV_CHECKIN
public static final int DAV_CHECKINThe webdav CHECKIN method and public constant defined by RFC 3253- See Also:
-
METHOD_CHECKIN
- See Also:
-
DAV_CHECKOUT
public static final int DAV_CHECKOUTThe webdav CHECKOUT method and public constant defined by RFC 3253- See Also:
-
METHOD_CHECKOUT
- See Also:
-
DAV_UNCHECKOUT
public static final int DAV_UNCHECKOUTThe webdav UNCHECKOUT method and public constant defined by RFC 3253- See Also:
-
METHOD_UNCHECKOUT
- See Also:
-
DAV_LABEL
public static final int DAV_LABELThe webdav LABEL method and public constant defined by RFC 3253- See Also:
-
METHOD_LABEL
- See Also:
-
DAV_MERGE
public static final int DAV_MERGEThe webdav MERGE method and public constant defined by RFC 3253- See Also:
-
METHOD_MERGE
- See Also:
-
DAV_UPDATE
public static final int DAV_UPDATEThe webdav UPDATE method and public constant defined by RFC 3253- See Also:
-
METHOD_UPDATE
- See Also:
-
DAV_MKWORKSPACE
public static final int DAV_MKWORKSPACEThe webdav MKWORKSPACE method and public constant defined by RFC 3253- See Also:
-
METHOD_MKWORKSPACE
- See Also:
-
DAV_BASELINE_CONTROL
public static final int DAV_BASELINE_CONTROLThe webdav BASELINE-CONTROL method and public constant defined by RFC 3253- See Also:
-
METHOD_BASELINE_CONTROL
- See Also:
-
DAV_MKACTIVITY
public static final int DAV_MKACTIVITYThe webdav MKACTIVITY method and public constant defined by RFC 3253- See Also:
-
METHOD_MKACTIVITY
- See Also:
-
DAV_ACL
public static final int DAV_ACLThe webdav ACL method and public constant defined by RFC 3744- See Also:
-
METHOD_ACL
- See Also:
-
DAV_REBIND
public static final int DAV_REBINDThe webdav REBIND method and public constant defined by the BIND specification- See Also:
-
METHOD_REBIND
- See Also:
-
DAV_UNBIND
public static final int DAV_UNBINDThe webdav UNBIND method and public constant defined by the BIND specification- See Also:
-
METHOD_UNBIND
- See Also:
-
DAV_BIND
public static final int DAV_BINDThe webdav BIND method and public constant defined by the BIND specification- See Also:
-
METHOD_BIND
- See Also:
-
-
Method Details
-
getMethodCode
Returns webdav method type code, error result <= 0 Valid type codes > 0 -
isCreateRequest
Returnstrue
if the request is to create a resource. True forPUT
,POST
,MKCOL
andMKWORKSPACE
requests.- Returns:
- true if request method is to create (or replace) a resource
-
isCreateCollectionRequest
Returnstrue
if the request is to create a collection resource. True forMKCOL
andMKWORKSPACE
requests.- Returns:
- true if request method is to create a new collection resource
-
isMethodAffectedByLabel
Returns true, if the specified method is affected by a Label header- Parameters:
request
-- Returns:
-
isDeltaVMethod
Returns true, if the specified method is defined by RFC 3253- Parameters:
request
-- Returns:
- true, if the specified method is defined by RFC 3253
-