org.springframework.web.util
Class UriComponents.PathSegmentComponent
java.lang.Object
org.springframework.web.util.UriComponents.PathSegmentComponent
- All Implemented Interfaces:
- UriComponents.PathComponent
- Enclosing class:
- UriComponents
static final class UriComponents.PathSegmentComponent
- extends java.lang.Object
- implements UriComponents.PathComponent
Represents a path backed by a string list (i.e. path segments).
Field Summary |
private java.util.List<java.lang.String> |
pathSegments
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
pathSegments
private final java.util.List<java.lang.String> pathSegments
UriComponents.PathSegmentComponent
UriComponents.PathSegmentComponent(java.util.List<java.lang.String> pathSegments)
getPath
public java.lang.String getPath()
- Specified by:
getPath
in interface UriComponents.PathComponent
getPathSegments
public java.util.List<java.lang.String> getPathSegments()
- Specified by:
getPathSegments
in interface UriComponents.PathComponent
encode
public UriComponents.PathComponent encode(java.lang.String encoding)
throws java.io.UnsupportedEncodingException
- Specified by:
encode
in interface UriComponents.PathComponent
- Throws:
java.io.UnsupportedEncodingException
verify
public void verify()
- Specified by:
verify
in interface UriComponents.PathComponent
expand
public UriComponents.PathComponent expand(UriComponents.UriTemplateVariables uriVariables)
- Specified by:
expand
in interface UriComponents.PathComponent
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object