-
public final class Url.QueryRepresents a list of query parameters in a URL.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Url.QueryParameter>parameters
-
Constructor Summary
Constructors Constructor Description Url.Query(List<Url.QueryParameter> parameters)
-
Method Summary
Modifier and Type Method Description final List<Url.QueryParameter>getParameters()final StringfirstNamedOrNull(String name)Returns the first value for the parameter with the given name. final List<String>allNamed(String name)Returns all the values for the parameter with the given name. -
-
Constructor Detail
-
Url.Query
Url.Query(List<Url.QueryParameter> parameters)
-
-
Method Detail
-
getParameters
final List<Url.QueryParameter> getParameters()
-
firstNamedOrNull
final String firstNamedOrNull(String name)
Returns the first value for the parameter with the given name.
-
-
-
-