- 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 booleanadd(String key, String value)Adds an input pair to this builder, returningtrueif the state of the builder changed.booleanadd(Map.Entry<String,String> param)Adds a single entry to this builder, returningtrueif the state of the builder changed.booleanaddAll(Collection<? extends Map.Entry<String,String>> params)Adds multiple entries to this builder, returningtrueif the state of the builder changed.booleanaddAll(Map<? extends String,? extends String> params)Adds multiple entries to this builder, returningtrueif the state of the builder changed.booleanaddParam(String value)booleanaddParam(String key, String value)booleanaddQuery(UriQuery query)UriQuerybind()Returns the output result of this builder.
-
-
-
Method Detail
-
add
public boolean add(String key, String value)
Description copied from interface:EntryBuilderAdds an input pair to this builder, returningtrueif the state of the builder changed.- Specified by:
addin interfaceEntryBuilder<String,String,UriQuery>- Specified by:
addin interfacePairBuilder<String,String,UriQuery>
-
add
public boolean add(Map.Entry<String,String> param)
Description copied from interface:EntryBuilderAdds a single entry to this builder, returningtrueif the state of the builder changed.
-
addAll
public boolean addAll(Collection<? extends Map.Entry<String,String>> params)
Description copied from interface:EntryBuilderAdds multiple entries to this builder, returningtrueif the state of the builder changed.
-
addAll
public boolean addAll(Map<? extends String,? extends String> params)
Description copied from interface:EntryBuilderAdds multiple entries to this builder, returningtrueif the state of the builder changed.- Specified by:
addAllin interfaceEntryBuilder<String,String,UriQuery>
-
bind
public UriQuery bind()
Description copied from interface:EntryBuilderReturns the output result of this builder.
-
addParam
public boolean addParam(String value)
-
addQuery
public boolean addQuery(UriQuery query)
-
-