org.apache.webdav.lib.methods
Interface DepthSupport
- All Known Implementing Classes:
- PropFindMethod, LockMethod
- public interface DepthSupport
Methods that can act on collections (for example, DELETE, LOCK, PROPFIND,
etc.) support a depth header. The depth header indicates that the
method applies to either:
- the collection (depth 0);
- the collection and its immediate contents (depth 1); or
- the collection, its contents and all subcollections (depth infinity).
- Author:
- B.C. Holmes
Field Summary |
static int |
DEPTH_0
Request with depth 0. |
static int |
DEPTH_1
Request with depth 1. |
static int |
DEPTH_INFINITY
Request with depth infinity. |
Method Summary |
int |
getDepth()
Depth getter. |
void |
setDepth(int depth)
Depth setter. |
DEPTH_0
public static final int DEPTH_0
- Request with depth 0.
DEPTH_1
public static final int DEPTH_1
- Request with depth 1.
DEPTH_INFINITY
public static final int DEPTH_INFINITY
- Request with depth infinity.
setDepth
public void setDepth(int depth)
- Depth setter.
- Parameters:
depth
- New depth value
getDepth
public int getDepth()
- Depth getter.
- Returns:
- int depth value