- java.lang.Object
-
- swim.uri.UriPathBuilder
-
-
Constructor Summary
Constructors Constructor Description UriPathBuilder()
-
Method Summary
Modifier and Type Method Description boolean
add(String component)
Adds a single input value to this builder, returningtrue
if the state of the builder changed.boolean
addAll(Collection<? extends String> components)
Adds multiple input values to this builder, returningtrue
if the state of the builder changed.boolean
addPath(UriPath path)
boolean
addSegment(String segment)
boolean
addSlash()
UriPath
bind()
Returns the output result of this builder.UriPath
pop()
-
-
-
Method Detail
-
add
public boolean add(String component)
Description copied from interface:Builder
Adds a single input value to this builder, returningtrue
if the state of the builder changed.
-
addAll
public boolean addAll(Collection<? extends String> components)
Description copied from interface:Builder
Adds multiple input values to this builder, returningtrue
if the state of the builder changed.
-
bind
public UriPath bind()
Description copied from interface:Builder
Returns the output result of this builder.
-
addSlash
public boolean addSlash()
-
addSegment
public boolean addSegment(String segment)
-
addPath
public boolean addPath(UriPath path)
-
pop
public UriPath pop()
-
-