public class Depth extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Depth.DEPTH
Legitimate values for the Depth header.
|
Constructor and Description |
---|
Depth(String depth)
Create a Depth object from a header value.
|
Modifier and Type | Method and Description |
---|---|
Depth.DEPTH |
getDepth()
Get the depth value.
|
static Depth |
valueOf(String value)
Create a Depth object from a value.
|
public Depth(String depth)
depth
- the depth valuepublic Depth.DEPTH getDepth()