- java.lang.Object
-
- swim.uri.UriPathBuilder
-
-
Constructor Summary
Constructors Constructor Description UriPathBuilder()
-
Method Summary
Modifier and Type Method Description booleanadd(String component)Adds a single input value to this builder, returningtrueif the state of the builder changed.booleanaddAll(Collection<? extends String> components)Adds multiple input values to this builder, returningtrueif the state of the builder changed.booleanaddPath(UriPath path)booleanaddSegment(String segment)booleanaddSlash()UriPathbind()Returns the output result of this builder.UriPathpop()
-
-
-
Method Detail
-
add
public boolean add(String component)
Description copied from interface:BuilderAdds a single input value to this builder, returningtrueif the state of the builder changed.
-
addAll
public boolean addAll(Collection<? extends String> components)
Description copied from interface:BuilderAdds multiple input values to this builder, returningtrueif the state of the builder changed.
-
bind
public UriPath bind()
Description copied from interface:BuilderReturns 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()
-
-