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()
PathSegment
getPath
in interface PathSegment
public MultivaluedMap<String,String> getMatrixParameters()
PathSegment
getMatrixParameters
in interface PathSegment
public 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.