org.springframework.web.util
Class UriComponentsBuilder.PathSegmentComponentBuilder

java.lang.Object
  extended by org.springframework.web.util.UriComponentsBuilder.PathSegmentComponentBuilder
All Implemented Interfaces:
UriComponentsBuilder.PathComponentBuilder
Enclosing class:
UriComponentsBuilder

private static class UriComponentsBuilder.PathSegmentComponentBuilder
extends java.lang.Object
implements UriComponentsBuilder.PathComponentBuilder

Represents a builder for paths segment paths.


Field Summary
private  java.util.List<java.lang.String> pathSegments
           
 
Constructor Summary
private UriComponentsBuilder.PathSegmentComponentBuilder(java.lang.String... pathSegments)
           
 
Method Summary
 UriComponentsBuilder.PathComponentBuilder appendPath(java.lang.String path)
           
 UriComponentsBuilder.PathComponentBuilder appendPathSegments(java.lang.String... pathSegments)
           
 UriComponents.PathComponent build()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pathSegments

private final java.util.List<java.lang.String> pathSegments
Constructor Detail

UriComponentsBuilder.PathSegmentComponentBuilder

private UriComponentsBuilder.PathSegmentComponentBuilder(java.lang.String... pathSegments)
Method Detail

build

public UriComponents.PathComponent build()
Specified by:
build in interface UriComponentsBuilder.PathComponentBuilder

appendPath

public UriComponentsBuilder.PathComponentBuilder appendPath(java.lang.String path)
Specified by:
appendPath in interface UriComponentsBuilder.PathComponentBuilder

appendPathSegments

public UriComponentsBuilder.PathComponentBuilder appendPathSegments(java.lang.String... pathSegments)
Specified by:
appendPathSegments in interface UriComponentsBuilder.PathComponentBuilder