public class PathSegmentImpl extends Object implements PathSegment
| Constructor and Description |
|---|
PathSegmentImpl(String segment,
boolean decode) |
| Modifier and Type | Method and Description |
|---|---|
MultivaluedMap<String,String> |
getMatrixParameters()
Get a map of the matrix parameters associated with the path segment.
|
String |
getOriginal() |
String |
getPath()
Get the path segment.
|
static List<PathSegment> |
parseSegments(String path,
boolean decode) |
String |
toString() |
public PathSegmentImpl(String segment, boolean decode)
segment - encoded path segmentdecode - whether or not to decode valuespublic String getOriginal()
public String getPath()
PathSegmentgetPath in interface PathSegmentpublic MultivaluedMap<String,String> getMatrixParameters()
PathSegmentgetMatrixParameters in interface PathSegmentpublic static List<PathSegment> parseSegments(String path, boolean decode)
path - encoded full pathdecode - whether or not to decode each segmentCopyright © 2018 JBoss by Red Hat. All rights reserved.