org.springframework.web.util
Class UriComponents.PathComponentComposite
java.lang.Object
org.springframework.web.util.UriComponents.PathComponentComposite
- All Implemented Interfaces:
- UriComponents.PathComponent
- Enclosing class:
- UriComponents
static final class UriComponents.PathComponentComposite
- extends java.lang.Object
- implements UriComponents.PathComponent
Represents a collection of PathComponents.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pathComponents
private final java.util.List<UriComponents.PathComponent> pathComponents
UriComponents.PathComponentComposite
UriComponents.PathComponentComposite(java.util.List<UriComponents.PathComponent> pathComponents)
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