org.cruxframework.crux.core.server.rest.core.registry
Class PathSegment
java.lang.Object
org.cruxframework.crux.core.server.rest.core.registry.PathSegment
public class PathSegment
- extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
PathSegment
public PathSegment(String segment,
boolean decode)
- Parameters:
segment - encoded path segmentdecode - whether or not to decode values
getOriginal
public String getOriginal()
getPath
public String getPath()
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 © 2015. All rights reserved.