public static interface GeoApiContext.RequestHandler
OkHttpRequestHandler
,
GaeRequestHandler
Modifier and Type | Interface and Description |
---|---|
static interface |
GeoApiContext.RequestHandler.Builder
Builder pattern for
GeoApiContext.RequestHandler . |
Modifier and Type | Method and Description |
---|---|
<T,R extends com.google.maps.internal.ApiResponse<T>> |
handle(java.lang.String hostName,
java.lang.String url,
java.lang.String userAgent,
java.lang.Class<R> clazz,
com.google.gson.FieldNamingPolicy fieldNamingPolicy,
long errorTimeout,
java.lang.Integer maxRetries,
com.google.maps.internal.ExceptionsAllowedToRetry exceptionsAllowedToRetry) |
<T,R extends com.google.maps.internal.ApiResponse<T>> |
handlePost(java.lang.String hostName,
java.lang.String url,
java.lang.String payload,
java.lang.String userAgent,
java.lang.Class<R> clazz,
com.google.gson.FieldNamingPolicy fieldNamingPolicy,
long errorTimeout,
java.lang.Integer maxRetries,
com.google.maps.internal.ExceptionsAllowedToRetry exceptionsAllowedToRetry) |
void |
shutdown() |
<T,R extends com.google.maps.internal.ApiResponse<T>> PendingResult<T> handle(java.lang.String hostName, java.lang.String url, java.lang.String userAgent, java.lang.Class<R> clazz, com.google.gson.FieldNamingPolicy fieldNamingPolicy, long errorTimeout, java.lang.Integer maxRetries, com.google.maps.internal.ExceptionsAllowedToRetry exceptionsAllowedToRetry)
<T,R extends com.google.maps.internal.ApiResponse<T>> PendingResult<T> handlePost(java.lang.String hostName, java.lang.String url, java.lang.String payload, java.lang.String userAgent, java.lang.Class<R> clazz, com.google.gson.FieldNamingPolicy fieldNamingPolicy, long errorTimeout, java.lang.Integer maxRetries, com.google.maps.internal.ExceptionsAllowedToRetry exceptionsAllowedToRetry)
void shutdown()