org.jboss.resteasy.specimpl
Class PathSegmentImpl
java.lang.Object
org.jboss.resteasy.specimpl.PathSegmentImpl
- All Implemented Interfaces:
- PathSegment
public class PathSegmentImpl
- extends java.lang.Object
- implements PathSegment
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PathSegmentImpl
public PathSegmentImpl(java.lang.String path)
- Parameters:
path
- decode path segment
PathSegmentImpl
public PathSegmentImpl(java.lang.String path,
MultivaluedMap<java.lang.String,java.lang.String> matrixParameters)
getOriginal
public java.lang.String getOriginal()
getPath
public java.lang.String getPath()
- Description copied from interface:
PathSegment
- Get the path segment.
- Specified by:
getPath
in interface PathSegment
- Returns:
- the path segment
getMatrixParameters
public MultivaluedMap<java.lang.String,java.lang.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 java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
parseSegments
public static java.util.List<PathSegment> parseSegments(java.lang.String path)
Copyright © 2010. All Rights Reserved.