org.springframework.web.util
Class UriComponents.FullPathComponent

java.lang.Object
  extended by org.springframework.web.util.UriComponents.FullPathComponent
All Implemented Interfaces:
UriComponents.PathComponent
Enclosing class:
UriComponents

static final class UriComponents.FullPathComponent
extends java.lang.Object
implements UriComponents.PathComponent

Represents a path backed by a string.


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

Field Detail

path

private final java.lang.String path
Constructor Detail

UriComponents.FullPathComponent

UriComponents.FullPathComponent(java.lang.String path)
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

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