com.liferay.portal.webdav.methods
Interface Method

All Known Implementing Classes:
BasePropMethodImpl, CopyMethodImpl, DeleteMethodImpl, GetMethodImpl, HeadMethodImpl, LockMethodImpl, MkcolMethodImpl, MoveMethodImpl, OptionsMethodImpl, PropfindMethodImpl, ProppatchMethodImpl, PutMethodImpl, UnlockMethodImpl

public interface Method

View Source

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_METHODS
           
static java.lang.String[] SUPPORTED_METHODS_ARRAY
           
static java.lang.String UNLOCK
           
 
Method Summary
 int process(com.liferay.portal.webdav.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

UNLOCK

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

SUPPORTED_METHODS_ARRAY

static final java.lang.String[] SUPPORTED_METHODS_ARRAY

SUPPORTED_METHODS

static final java.lang.String SUPPORTED_METHODS
Method Detail

process

int process(com.liferay.portal.webdav.WebDAVRequest webDavRequest)
            throws com.liferay.portal.webdav.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:
com.liferay.portal.webdav.WebDAVException