org.jboss.resteasy.specimpl
Class PathSegmentImpl
java.lang.Object
org.jboss.resteasy.specimpl.PathSegmentImpl
- All Implemented Interfaces:
- PathSegment
public class PathSegmentImpl
- extends Object
- implements PathSegment
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
PathSegmentImpl
public PathSegmentImpl(String segment,
boolean decode)
- Parameters:
segment
- encoded path segmentdecode
- whether or not to decode values
getOriginal
public String getOriginal()
getPath
public String getPath()
- Description copied from interface:
PathSegment
- Get the path segment.
- Specified by:
getPath
in interface PathSegment
- Returns:
- the path segment
getMatrixParameters
public MultivaluedMap<String,String> getMatrixParameters()
- Description copied from interface:
PathSegment
- Get a map of the matrix parameters associated with the path segment.
The map keys are the names of the matrix parameters with any
percent-escaped octets decoded.
- Specified by:
getMatrixParameters
in interface PathSegment
- Returns:
- the map of matrix parameters
- See Also:
- Matrix URIs
toString
public String toString()
- Overrides:
toString
in class Object
parseSegments
public static List<PathSegment> parseSegments(String path,
boolean decode)
- Parameters:
path
- encoded full pathdecode
- whether or not to decode each segment
- Returns:
Copyright © 2012. All Rights Reserved.