|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DAVMethod>
org.torweg.pulse.webdav.request.DAVMethod
public enum DAVMethod
represents the request methods for DAV.
| Enum Constant Summary | |
|---|---|
COPY
COPY method. |
|
DELETE
DELETE method. |
|
GET
GET method. |
|
HEAD
HEAD method. |
|
MKCOL
MKCOL method. |
|
MOVE
MOVE method. |
|
OPTIONS
OPTIONS method. |
|
POST
POST method. |
|
PROPFIND
PROPFIND method. |
|
PROPPATCH
PROPPATCH method. |
|
PUT
PUT method. |
|
UNDEFINED
unknown method. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMethodName()
get the name of the method as a string. |
protected static DAVMethod |
parseMethod(HttpDAVServletRequest request)
parses the DAVMethod from the request. |
static DAVMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DAVMethod[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DAVMethod OPTIONS
public static final DAVMethod PROPFIND
public static final DAVMethod PROPPATCH
public static final DAVMethod MKCOL
public static final DAVMethod GET
public static final DAVMethod HEAD
public static final DAVMethod POST
public static final DAVMethod DELETE
public static final DAVMethod PUT
public static final DAVMethod COPY
public static final DAVMethod MOVE
public static final DAVMethod UNDEFINED
| Method Detail |
|---|
public static final DAVMethod[] values()
for(DAVMethod c : DAVMethod.values())
System.out.println(c);
public static DAVMethod valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic final java.lang.String getMethodName()
protected static DAVMethod parseMethod(HttpDAVServletRequest request)
request - the request
null, if no such method exists
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||