|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Depth>
org.torweg.pulse.webdav.request.Depth
public enum Depth
represents the <em>Depth</em> header of a DAV request.
| Enum Constant Summary | |
|---|---|
INFINITY
|
|
ONE
|
|
TWO
|
|
ZERO
the possible header values: 1, 2, infinity. |
|
| Method Summary | |
|---|---|
static Depth |
getDepth(javax.servlet.http.HttpServletRequest req)
parses the <em>Depth</em> header from the request and
returns the fitting value. |
static Depth |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Depth[] |
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 Depth ZERO
public static final Depth ONE
public static final Depth TWO
public static final Depth INFINITY
| Method Detail |
|---|
public static final Depth[] values()
for(Depth c : Depth.values())
System.out.println(c);
public static Depth 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 static final Depth getDepth(javax.servlet.http.HttpServletRequest req)
<em>Depth</em> header from the request and
returns the fitting value.
req - the current request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||