public abstract static class InstacountClientParams.AbstractInstacountClientParams extends Object implements InstacountClientParams
InstacountClientParams.InstacountClientParams.AbstractInstacountClientParams| Modifier | Constructor and Description |
|---|---|
protected |
InstacountClientParams.AbstractInstacountClientParams(boolean readOnly)
Required-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(RequestTemplate requestTemplate) |
Client |
getClient()
The
Client that the Instacount API client should use. |
String |
getClientIdentifier()
A unique name for the application making this request.
|
String |
getInstacountRootUrl()
Provided here by default, but overidable by subclasses, for example, for testing purposes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstacountApplicationId, getInstacountReadOnlyApplicationKey, getInstacountReadWriteApplicationKeyprotected InstacountClientParams.AbstractInstacountClientParams(boolean readOnly)
readOnly - Set to true to use the read-only API keys. Set to false to use the read-write
API keys.public void apply(RequestTemplate requestTemplate)
public String getClientIdentifier()
InstacountClientParamsgetClientIdentifier in interface InstacountClientParamspublic String getInstacountRootUrl()
getInstacountRootUrl in interface InstacountClientParamspublic Client getClient()
InstacountClientParamsClient that the Instacount API client should use.getClient in interface InstacountClientParamsCopyright © 2015–2016 Instacount. All rights reserved.