GeoApiContext.RequestHandler.Builder
public static class GaeRequestHandler.Builder extends java.lang.Object implements GeoApiContext.RequestHandler.Builder
GaeRequestHandler
.Constructor | Description |
---|---|
Builder() |
Modifier and Type | Method | Description |
---|---|---|
GeoApiContext.RequestHandler |
build() |
|
GaeRequestHandler.Builder |
connectTimeout(long timeout,
java.util.concurrent.TimeUnit unit) |
|
GaeRequestHandler.Builder |
proxy(java.net.Proxy proxy) |
|
GaeRequestHandler.Builder |
proxyAuthentication(java.lang.String proxyUserName,
java.lang.String proxyUserPassword) |
|
GaeRequestHandler.Builder |
queriesPerSecond(int maxQps) |
|
GaeRequestHandler.Builder |
readTimeout(long timeout,
java.util.concurrent.TimeUnit unit) |
|
GaeRequestHandler.Builder |
writeTimeout(long timeout,
java.util.concurrent.TimeUnit unit) |
public GaeRequestHandler.Builder connectTimeout(long timeout, java.util.concurrent.TimeUnit unit)
connectTimeout
in interface GeoApiContext.RequestHandler.Builder
public GaeRequestHandler.Builder readTimeout(long timeout, java.util.concurrent.TimeUnit unit)
readTimeout
in interface GeoApiContext.RequestHandler.Builder
public GaeRequestHandler.Builder writeTimeout(long timeout, java.util.concurrent.TimeUnit unit)
writeTimeout
in interface GeoApiContext.RequestHandler.Builder
public GaeRequestHandler.Builder queriesPerSecond(int maxQps)
queriesPerSecond
in interface GeoApiContext.RequestHandler.Builder
public GaeRequestHandler.Builder proxy(java.net.Proxy proxy)
proxy
in interface GeoApiContext.RequestHandler.Builder
public GaeRequestHandler.Builder proxyAuthentication(java.lang.String proxyUserName, java.lang.String proxyUserPassword)
proxyAuthentication
in interface GeoApiContext.RequestHandler.Builder
public GeoApiContext.RequestHandler build()
build
in interface GeoApiContext.RequestHandler.Builder