public final class VersionQuery extends APIQuery<VersionQuery,Integer>
rateLimiter, resourceValuelogger| Constructor and Description |
|---|
VersionQuery()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
resourceString()
Gives the resource string of this Query, e.g.
|
protected <T extends Integer> |
translateResponse(InputStream response,
Class<T> type)
Translates the stream response to the object this Query wishes to return
via its execute() function.
|
buildURL, execute, getRateLimiter, slowMode, validateQueryParameterscloseInputStreamQuietly, execute, makeRequestprotected String resourceString()
APIQueryresourceString in class APIQuery<VersionQuery,Integer>protected <T extends Integer> T translateResponse(InputStream response, Class<T> type)
AbstractQuerytranslateResponse in class AbstractQuery<VersionQuery,Integer>T - type to parse toresponse - the response to translatetype - type to parse toCopyright © 2016. All rights reserved.