org.jboss.resteasy.specimpl
Class PathSegmentImpl
java.lang.Object
org.jboss.resteasy.specimpl.PathSegmentImpl
- All Implemented Interfaces:
- javax.ws.rs.core.PathSegment
public class PathSegmentImpl
- extends Object
- implements javax.ws.rs.core.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()
- Specified by:
getPath
in interface javax.ws.rs.core.PathSegment
getMatrixParameters
public javax.ws.rs.core.MultivaluedMap<String,String> getMatrixParameters()
- Specified by:
getMatrixParameters
in interface javax.ws.rs.core.PathSegment
toString
public String toString()
- Overrides:
toString
in class Object
parseSegments
public static List<javax.ws.rs.core.PathSegment> parseSegments(String path,
boolean decode)
- Parameters:
path
- encoded full pathdecode
- whether or not to decode each segment
- Returns:
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.