org.springframework.web.util
Class UriComponents.PathComponentComposite

java.lang.Object
  extended by 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.


Field Summary
private  java.util.List<UriComponents.PathComponent> pathComponents
           
 
Constructor Summary
UriComponents.PathComponentComposite(java.util.List<UriComponents.PathComponent> pathComponents)
           
 
Method Summary
 UriComponents.PathComponent encode(java.lang.String encoding)
           
 UriComponents.PathComponent expand(UriComponents.UriTemplateVariables uriVariables)
           
 java.lang.String getPath()
           
 java.util.List<java.lang.String> getPathSegments()
           
 void verify()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pathComponents

private final java.util.List<UriComponents.PathComponent> pathComponents
Constructor Detail

UriComponents.PathComponentComposite

UriComponents.PathComponentComposite(java.util.List<UriComponents.PathComponent> pathComponents)
Method Detail

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