public final class WorldAssemblyQuery extends ShardQuery<WorldAssemblyQuery,WorldAssembly,WorldAssemblyShard>
shardsgeneralRateLimiter, resourceValueuserAgent| Constructor and Description |
|---|
WorldAssemblyQuery(IXmlConverter xmlConverter,
IRateLimiter generalRateLimiter,
IRateLimiter scrapingRateLimiter,
String baseUrl,
String userAgent,
int apiVersion,
Council council)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildURL()
Generates a String URL based on the supplied values.
|
WorldAssemblyQuery |
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 WorldAssemblyQuery(IXmlConverter xmlConverter, IRateLimiter generalRateLimiter, IRateLimiter scrapingRateLimiter, String baseUrl, String userAgent, int apiVersion, Council council)
xmlConverter - generalRateLimiter - scrapingRateLimiter - baseUrl - userAgent - apiVersion - council - the council type to querypublic final WorldAssemblyQuery resolutionId(int resolutionId)
resolutionId - the id of the resolution to retrieveprotected String resourceString()
APIQueryresourceString in class APIQuery<WorldAssemblyQuery,WorldAssembly>protected void validateQueryParameters()
AbstractQueryvalidateQueryParameters in class APIQuery<WorldAssemblyQuery,WorldAssembly>protected String buildURL()
AbstractQuerybuildURL in class ShardQuery<WorldAssemblyQuery,WorldAssembly,WorldAssemblyShard>Copyright © 2017. All rights reserved.