com.liferay.portal.kernel.webdav.methods
Interface Method


public interface Method

Author:
Brian Wing Shun Chan, Alexander Chow

Field Summary
static java.lang.String COPY
           
static java.lang.String DELETE
           
static java.lang.String GET
           
static java.lang.String HEAD
           
static java.lang.String LOCK
           
static java.lang.String MKCOL
           
static java.lang.String MOVE
           
static java.lang.String OPTIONS
           
static java.lang.String PROPFIND
           
static java.lang.String PROPPATCH
           
static java.lang.String PUT
           
static java.lang.String[] SUPPORTED_METHOD_NAMES
           
static java.lang.String UNLOCK
           
 
Method Summary
 int process(WebDAVRequest webDAVRequest)
          Returns -1 or a supported HTTP status code.
 

Field Detail

COPY

static final java.lang.String COPY
See Also:
Constant Field Values

DELETE

static final java.lang.String DELETE
See Also:
Constant Field Values

GET

static final java.lang.String GET
See Also:
Constant Field Values

HEAD

static final java.lang.String HEAD
See Also:
Constant Field Values

LOCK

static final java.lang.String LOCK
See Also:
Constant Field Values

MKCOL

static final java.lang.String MKCOL
See Also:
Constant Field Values

MOVE

static final java.lang.String MOVE
See Also:
Constant Field Values

OPTIONS

static final java.lang.String OPTIONS
See Also:
Constant Field Values

PROPFIND

static final java.lang.String PROPFIND
See Also:
Constant Field Values

PROPPATCH

static final java.lang.String PROPPATCH
See Also:
Constant Field Values

PUT

static final java.lang.String PUT
See Also:
Constant Field Values

SUPPORTED_METHOD_NAMES

static final java.lang.String[] SUPPORTED_METHOD_NAMES

UNLOCK

static final java.lang.String UNLOCK
See Also:
Constant Field Values
Method Detail

process

int process(WebDAVRequest webDAVRequest)
            throws WebDAVException
Returns -1 or a supported HTTP status code. If it is -1, then the status code has already been set. Otherwise, the status code needs to be set by the caller.

Parameters:
webDAVRequest - the WebDAV request
Returns:
-1 or a supported HTTP status code. If it is -1, then the status code has already been set. Otherwise, the status code needs to be set by the caller.
Throws:
WebDAVException - if a WebDAV exception occurred