|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.abstracthorizon.danube.webdav.util.Depth
public class Depth
Object that represents a "Depth" header of WebDAV specification.
| Field Summary | |
|---|---|
static int |
INFINITY
Depth of infinity |
static int |
NONE
Depth not defined |
static int |
ONE
Depth of 1 |
static int |
ZERO
Depth of 0 |
| Constructor Summary | |
|---|---|
Depth()
|
|
| Method Summary | |
|---|---|
static int |
collectDepth(HTTPConnection connection)
Parses the header (if present) and returns depth object |
static String |
toString(int depth)
String representation of a depth object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NONE
public static final int ZERO
public static final int ONE
public static final int INFINITY
| Constructor Detail |
|---|
public Depth()
| Method Detail |
|---|
public static int collectDepth(HTTPConnection connection)
connection - connection to hold the header
public static String toString(int depth)
depth - depth object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||