public final class WAQuery extends ShardQuery<WAQuery,WorldAssembly,WAShard>
shardsrateLimiter, resourceValuelogger| Modifier and Type | Method and Description |
|---|---|
protected String |
buildURL()
Generates a String URL based on the supplied values.
|
WAQuery |
resolutionId(int resolutionId)
Sets the id of the resolution to retrieve.
|
protected String |
resourceString()
Gives the resource string of this Query, e.g.
|
protected void |
validateQueryParameters()
Validates the query parameters before executing the query.
|
shardsexecute, getRateLimiter, slowModecloseInputStreamQuietly, execute, makeRequest, translateResponsepublic WAQuery(Council council)
council - the council type to querypublic final WAQuery resolutionId(int resolutionId)
resolutionId - the id of the resolution to retrieveprotected String resourceString()
APIQueryresourceString in class APIQuery<WAQuery,WorldAssembly>protected void validateQueryParameters()
AbstractQueryvalidateQueryParameters in class APIQuery<WAQuery,WorldAssembly>protected String buildURL()
AbstractQuerybuildURL in class ShardQuery<WAQuery,WorldAssembly,WAShard>Copyright © 2016. All rights reserved.