public abstract class AbstractQuery
extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractQuery.LatLng
A pair of (latitude, longitude).
|
| Modifier and Type | Method and Description |
|---|---|
String |
build()
Build the URL query parameter string representing this object.
|
boolean |
equals(Object other) |
String |
get(String name)
Get a parameter in an untyped fashion.
|
int |
hashCode() |
void |
parseFrom(String queryParameters)
Parse a URL query parameter string and store the resulting parameters into this query.
|
static AbstractQuery.LatLng |
parseLatLng(String value)
Deprecated.
Please use
AbstractQuery.LatLng.parse(String) instead. |
AbstractQuery |
set(String name,
Object value)
Set a parameter in an untyped fashion.
|
String |
toString()
Obtain a debug representation of this query.
|
public boolean equals(@Nullable
Object other)
equals in class Objectpublic int hashCode()
hashCode in class Object@NonNull public String toString()
build().toString in class Object@NonNull public String build()
public void parseFrom(@NonNull
String queryParameters)
queryParameters - URL query parameter string.@Nullable public static AbstractQuery.LatLng parseLatLng(String value)
AbstractQuery.LatLng.parse(String) instead.@NonNull public AbstractQuery set(@NonNull String name, @Nullable Object value)
name - The parameter's name.value - The parameter's value, or null to remove it.
It will first be converted to a String by the `toString()` method.@Nullable
public String get(@NonNull
String name)
name - The parameter's name.