Liferay 6.2-ce-ga5

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

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

public interface Method


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

Field Detail

COPY

static final String COPY
See Also:
Constant Field Values

DELETE

static final String DELETE
See Also:
Constant Field Values

GET

static final String GET
See Also:
Constant Field Values

HEAD

static final String HEAD
See Also:
Constant Field Values

LOCK

static final String LOCK
See Also:
Constant Field Values

MKCOL

static final String MKCOL
See Also:
Constant Field Values

MOVE

static final String MOVE
See Also:
Constant Field Values

OPTIONS

static final String OPTIONS
See Also:
Constant Field Values

PROPFIND

static final String PROPFIND
See Also:
Constant Field Values

PROPPATCH

static final String PROPPATCH
See Also:
Constant Field Values

PUT

static final String PUT
See Also:
Constant Field Values

SUPPORTED_METHOD_NAMES

static final String[] SUPPORTED_METHOD_NAMES

UNLOCK

static final 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

Liferay 6.2-ce-ga5