private static class UriComponentsBuilder.CompositePathComponentBuilder extends java.lang.Object implements UriComponentsBuilder.PathComponentBuilder
Modifier and Type | Field and Description |
---|---|
private java.util.LinkedList<UriComponentsBuilder.PathComponentBuilder> |
builders |
Constructor and Description |
---|
CompositePathComponentBuilder() |
CompositePathComponentBuilder(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
void |
addPath(java.lang.String path) |
void |
addPathSegments(java.lang.String... pathSegments) |
HierarchicalUriComponents.PathComponent |
build() |
UriComponentsBuilder.CompositePathComponentBuilder |
cloneBuilder() |
private <T> T |
getLastBuilder(java.lang.Class<T> builderClass) |
private final java.util.LinkedList<UriComponentsBuilder.PathComponentBuilder> builders
public CompositePathComponentBuilder()
public CompositePathComponentBuilder(java.lang.String path)
public void addPathSegments(java.lang.String... pathSegments)
public void addPath(java.lang.String path)
private <T> T getLastBuilder(java.lang.Class<T> builderClass)
public HierarchicalUriComponents.PathComponent build()
build
in interface UriComponentsBuilder.PathComponentBuilder
public UriComponentsBuilder.CompositePathComponentBuilder cloneBuilder()
cloneBuilder
in interface UriComponentsBuilder.PathComponentBuilder