org.jboss.resteasy.specimpl
Class PathSegmentImpl

java.lang.Object
  extended by org.jboss.resteasy.specimpl.PathSegmentImpl
All Implemented Interfaces:
PathSegment

public class PathSegmentImpl
extends java.lang.Object
implements PathSegment

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
PathSegmentImpl(java.lang.String path)
           
PathSegmentImpl(java.lang.String path, MultivaluedMap<java.lang.String,java.lang.String> matrixParameters)
           
 
Method Summary
 MultivaluedMap<java.lang.String,java.lang.String> getMatrixParameters()
          Get a map of the matrix parameters associated with the path segment.
 java.lang.String getOriginal()
           
 java.lang.String getPath()
          Get the path segment.
static java.util.List<PathSegment> parseSegments(java.lang.String path)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.