public class PathSegmentImpl extends Object implements PathSegment
| Modifier and Type | Class and Description |
|---|---|
static class |
PathSegmentImpl.SegmentParse
Used when creating the matching path in ResteasyUriInfo
|
| 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.
|
boolean |
hasMatrixParams()
NOTE: Used for optimization in ResteasyUriInfo
|
static List<PathSegment> |
parseSegments(String path,
boolean decode) |
static PathSegmentImpl.SegmentParse |
parseSegmentsOptimization(String path,
boolean decode) |
String |
toString() |
public PathSegmentImpl(String segment, boolean decode)
segment - encoded path segmentdecode - whether or not to decode valuespublic boolean hasMatrixParams()
public 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)
public static PathSegmentImpl.SegmentParse parseSegmentsOptimization(String path, boolean decode)
path - encoded full pathdecode - whether or not to decode each segmentPathSegmentImpl.SegmentParseCopyright © 2019 JBoss by Red Hat. All rights reserved.