public final class DavMethods
extends java.lang.Object
DavMethods
defines constants for the WebDAV METHODS.Modifier and Type | Field and Description |
---|---|
static int |
DAV_ACL
The webdav ACL method and public constant defined by
RFC 3744
|
static int |
DAV_BASELINE_CONTROL
The webdav BASELINE-CONTROL method and public constant defined by
RFC 3253
|
static int |
DAV_BIND
The webdav BIND method and public constant defined by
the BIND specification
|
static int |
DAV_CHECKIN
The webdav CHECKIN method and public constant defined by
RFC 3253
|
static int |
DAV_CHECKOUT
The webdav CHECKOUT method and public constant defined by
RFC 3253
|
static int |
DAV_COPY
The webdav COPY method and public constant as defined by
RFC 2518
|
static int |
DAV_DELETE
The webdav DELETE method and public constant
|
static int |
DAV_GET
The webdav GET method and public constant
|
static int |
DAV_HEAD
The webdav HEAD method and public constant
|
static int |
DAV_LABEL
The webdav LABEL method and public constant defined by
RFC 3253
|
static int |
DAV_LOCK
The webdav LOCK method and public constant as defined by
RFC 2518
|
static int |
DAV_MERGE
The webdav MERGE method and public constant defined by
RFC 3253
|
static int |
DAV_MKACTIVITY
The webdav MKACTIVITY method and public constant defined by
RFC 3253
|
static int |
DAV_MKCOL
The webdav MKCOL (make collection) method and public constant as defined by
RFC 2518
|
static int |
DAV_MKWORKSPACE
The webdav MKWORKSPACE method and public constant defined by
RFC 3253
|
static int |
DAV_MOVE
The webdav MOVE method and public constant as defined by
RFC 2518
|
static int |
DAV_OPTIONS
The webdav OPTIONS method and public constant
|
static int |
DAV_ORDERPATCH
The webdav ORDERPATCH method and public constant
defined by RFC 3648.
|
static int |
DAV_POLL
The webdav POLL method and public constant
NOTE: This method is not defined by any of the Webdav RFCs |
static int |
DAV_POST
The webdav POST method and public constant
|
static int |
DAV_PROPFIND
The webdav PROPFIND method and public constant as defined by
RFC 2518.
|
static int |
DAV_PROPPATCH
The webdav PROPPATCH method and public constant as defined by
RFC 2518
|
static int |
DAV_PUT
The webdav PUT method and public constant
|
static int |
DAV_REBIND
The webdav REBIND method and public constant defined by
the BIND specification
|
static int |
DAV_REPORT
The webdav REPORT method and public constant defined by
RFC 3253
|
static int |
DAV_SEARCH
The webdav SEARCH method and public constant as defined by the
Webdav Search internet draft.
|
static int |
DAV_SUBSCRIBE
The webdav SUBSCRIBE method and public constant.
NOTE: This method is not defined by any of the Webdav RFCs |
static int |
DAV_UNBIND
The webdav UNBIND method and public constant defined by
the BIND specification
|
static int |
DAV_UNCHECKOUT
The webdav UNCHECKOUT method and public constant defined by
RFC 3253
|
static int |
DAV_UNLOCK
The webdav UNLOCK method and public constant as defined by
RFC 2518
|
static int |
DAV_UNSUBSCRIBE
The webdav UNSUBSCRIBE method and public constant
NOTE: This method is not defined by any of the Webdav RFCs |
static int |
DAV_UPDATE
The webdav UPDATE method and public constant defined by
RFC 3253
|
static int |
DAV_VERSION_CONTROL
The webdav VERSION-CONTROL method and public constant defined by
RFC 3253
|
static java.lang.String |
METHOD_ACL |
static java.lang.String |
METHOD_BASELINE_CONTROL |
static java.lang.String |
METHOD_BIND |
static java.lang.String |
METHOD_CHECKIN |
static java.lang.String |
METHOD_CHECKOUT |
static java.lang.String |
METHOD_COPY |
static java.lang.String |
METHOD_DELETE |
static java.lang.String |
METHOD_GET |
static java.lang.String |
METHOD_HEAD |
static java.lang.String |
METHOD_LABEL |
static java.lang.String |
METHOD_LOCK |
static java.lang.String |
METHOD_MERGE |
static java.lang.String |
METHOD_MKACTIVITY |
static java.lang.String |
METHOD_MKCOL |
static java.lang.String |
METHOD_MKWORKSPACE |
static java.lang.String |
METHOD_MOVE |
static java.lang.String |
METHOD_OPTIONS |
static java.lang.String |
METHOD_ORDERPATCH |
static java.lang.String |
METHOD_POLL |
static java.lang.String |
METHOD_POST |
static java.lang.String |
METHOD_PROPFIND |
static java.lang.String |
METHOD_PROPPATCH |
static java.lang.String |
METHOD_PUT |
static java.lang.String |
METHOD_REBIND |
static java.lang.String |
METHOD_REPORT |
static java.lang.String |
METHOD_SEARCH |
static java.lang.String |
METHOD_SUBSCRIBE |
static java.lang.String |
METHOD_UNBIND |
static java.lang.String |
METHOD_UNCHECKOUT |
static java.lang.String |
METHOD_UNLOCK |
static java.lang.String |
METHOD_UNSUBSCRIBE |
static java.lang.String |
METHOD_UPDATE |
static java.lang.String |
METHOD_VERSION_CONTROL |
Modifier and Type | Method and Description |
---|---|
static int |
getMethodCode(java.lang.String method)
Returns webdav method type code, error result <= 0
Valid type codes > 0
|
static boolean |
isCreateCollectionRequest(DavServletRequest request)
Returns
true if the request is to create a collection resource. |
static boolean |
isCreateRequest(DavServletRequest request)
Returns
true if the request is to create a resource. |
static boolean |
isDeltaVMethod(DavServletRequest request)
Returns true, if the specified method is defined by RFC 3253
|
static boolean |
isMethodAffectedByLabel(DavServletRequest request)
Returns true, if the specified method is affected by a Label header
|
public static final int DAV_OPTIONS
public static final java.lang.String METHOD_OPTIONS
public static final int DAV_GET
public static final java.lang.String METHOD_GET
public static final int DAV_HEAD
public static final java.lang.String METHOD_HEAD
public static final int DAV_POST
public static final java.lang.String METHOD_POST
public static final int DAV_DELETE
public static final java.lang.String METHOD_DELETE
public static final int DAV_PUT
public static final java.lang.String METHOD_PUT
public static final int DAV_PROPFIND
public static final java.lang.String METHOD_PROPFIND
public static final int DAV_PROPPATCH
public static final java.lang.String METHOD_PROPPATCH
public static final int DAV_MKCOL
public static final java.lang.String METHOD_MKCOL
public static final int DAV_COPY
public static final java.lang.String METHOD_COPY
public static final int DAV_MOVE
public static final java.lang.String METHOD_MOVE
public static final int DAV_LOCK
public static final java.lang.String METHOD_LOCK
public static final int DAV_UNLOCK
public static final java.lang.String METHOD_UNLOCK
public static final int DAV_ORDERPATCH
public static final java.lang.String METHOD_ORDERPATCH
public static final int DAV_SUBSCRIBE
public static final java.lang.String METHOD_SUBSCRIBE
public static final int DAV_UNSUBSCRIBE
public static final java.lang.String METHOD_UNSUBSCRIBE
public static final int DAV_POLL
public static final java.lang.String METHOD_POLL
public static final int DAV_SEARCH
public static final java.lang.String METHOD_SEARCH
public static final int DAV_REPORT
public static final java.lang.String METHOD_REPORT
public static final int DAV_VERSION_CONTROL
public static final java.lang.String METHOD_VERSION_CONTROL
public static final int DAV_CHECKIN
public static final java.lang.String METHOD_CHECKIN
public static final int DAV_CHECKOUT
public static final java.lang.String METHOD_CHECKOUT
public static final int DAV_UNCHECKOUT
public static final java.lang.String METHOD_UNCHECKOUT
public static final int DAV_LABEL
public static final java.lang.String METHOD_LABEL
public static final int DAV_MERGE
public static final java.lang.String METHOD_MERGE
public static final int DAV_UPDATE
public static final java.lang.String METHOD_UPDATE
public static final int DAV_MKWORKSPACE
public static final java.lang.String METHOD_MKWORKSPACE
public static final int DAV_BASELINE_CONTROL
public static final java.lang.String METHOD_BASELINE_CONTROL
public static final int DAV_MKACTIVITY
public static final java.lang.String METHOD_MKACTIVITY
public static final int DAV_ACL
public static final java.lang.String METHOD_ACL
public static final int DAV_REBIND
public static final java.lang.String METHOD_REBIND
public static final int DAV_UNBIND
public static final java.lang.String METHOD_UNBIND
public static final int DAV_BIND
public static final java.lang.String METHOD_BIND
public static int getMethodCode(java.lang.String method)
public static boolean isCreateRequest(DavServletRequest request)
true
if the request is to create a resource.
True for PUT
, POST
, MKCOL
and MKWORKSPACE
requests.public static boolean isCreateCollectionRequest(DavServletRequest request)
true
if the request is to create a collection resource.
True for MKCOL
and MKWORKSPACE
requests.public static boolean isMethodAffectedByLabel(DavServletRequest request)
request
- public static boolean isDeltaVMethod(DavServletRequest request)
request
- Copyright © 2010 - 2020 Adobe. All Rights Reserved