org.springframework.web.util
Class UriComponentsBuilder.PathComponentCompositeBuilder

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

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

Represents a builder for a collection of PathComponents.


Field Summary
private  java.util.List<UriComponentsBuilder.PathComponentBuilder> pathComponentBuilders
           
 
Constructor Summary
private UriComponentsBuilder.PathComponentCompositeBuilder(UriComponentsBuilder.PathComponentBuilder builder)
           
 
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

pathComponentBuilders

private final java.util.List<UriComponentsBuilder.PathComponentBuilder> pathComponentBuilders
Constructor Detail

UriComponentsBuilder.PathComponentCompositeBuilder

private UriComponentsBuilder.PathComponentCompositeBuilder(UriComponentsBuilder.PathComponentBuilder builder)
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