Package org.trellisldp.webdav
Class Depth
- java.lang.Object
-
- org.trellisldp.webdav.Depth
-
public class Depth extends Object
A Depth header.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDepth.DEPTHLegitimate values for the Depth header.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Depth.DEPTHgetDepth()Get the depth value.static DepthvalueOf(String value)Create a Depth object from a value.
-
-
-
Constructor Detail
-
Depth
public Depth(String depth)
Create a Depth object from a header value.- Parameters:
depth- the depth value
-
-
Method Detail
-
getDepth
public Depth.DEPTH getDepth()
Get the depth value.- Returns:
- the depth
-
-