public class PathSegment extends Object
| Constructor and Description |
|---|
PathSegment(String segment,
boolean decode) |
| Modifier and Type | Method and Description |
|---|---|
String |
getOriginal() |
String |
getPath() |
static List<PathSegment> |
parseSegments(String path,
boolean decode) |
String |
toString() |
public PathSegment(String segment, boolean decode)
segment - encoded path segmentdecode - whether or not to decode valuespublic String getOriginal()
public String getPath()
public static List<PathSegment> parseSegments(String path, boolean decode)
path - encoded full pathdecode - whether or not to decode each segmentCopyright © 2016. All rights reserved.