public final class EncodedPath extends java.lang.Object implements Path
| Constructor and Description |
|---|
EncodedPath(UriEncoded path) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAbsolute()
Returns whether this path is absolute, i.e. starts with a "/".
|
boolean |
isEmpty()
Returns whether this path is empty, i.e. contains no path segments.
|
java.util.Iterator<UriEncoded> |
iterator() |
public EncodedPath(UriEncoded path)
public boolean isEmpty()
Pathpublic boolean isAbsolute()
PathisAbsolute in interface Pathtrue if this path is absolute, false otherwise.public java.util.Iterator<UriEncoded> iterator()
iterator in interface java.lang.Iterable<UriEncoded>