- java.lang.Object
-
- swim.uri.UriQueryBuilder
-
-
Constructor Summary
Constructors Constructor Description UriQueryBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(String key, String value)
Adds an input pair to this builder, returningtrue
if the state of the builder changed.boolean
add(Map.Entry<String,String> param)
Adds a single entry to this builder, returningtrue
if the state of the builder changed.boolean
addAll(Collection<? extends Map.Entry<String,String>> params)
Adds multiple entries to this builder, returningtrue
if the state of the builder changed.boolean
addAll(Map<? extends String,? extends String> params)
Adds multiple entries to this builder, returningtrue
if the state of the builder changed.boolean
addParam(String value)
boolean
addParam(String key, String value)
boolean
addQuery(UriQuery query)
UriQuery
bind()
Returns the output result of this builder.
-
-
-
Method Detail
-
add
public boolean add(String key, String value)
Description copied from interface:EntryBuilder
Adds an input pair to this builder, returningtrue
if the state of the builder changed.- Specified by:
add
in interfaceEntryBuilder<String,String,UriQuery>
- Specified by:
add
in interfacePairBuilder<String,String,UriQuery>
-
add
public boolean add(Map.Entry<String,String> param)
Description copied from interface:EntryBuilder
Adds a single entry to this builder, returningtrue
if the state of the builder changed.
-
addAll
public boolean addAll(Collection<? extends Map.Entry<String,String>> params)
Description copied from interface:EntryBuilder
Adds multiple entries to this builder, returningtrue
if the state of the builder changed.
-
addAll
public boolean addAll(Map<? extends String,? extends String> params)
Description copied from interface:EntryBuilder
Adds multiple entries to this builder, returningtrue
if the state of the builder changed.- Specified by:
addAll
in interfaceEntryBuilder<String,String,UriQuery>
-
bind
public UriQuery bind()
Description copied from interface:EntryBuilder
Returns the output result of this builder.
-
addParam
public boolean addParam(String value)
-
addQuery
public boolean addQuery(UriQuery query)
-
-