public abstract class AbstractBricksetService extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBricksetService(String apiKey)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
returnJsonResponse(Method method,
String uri)
Call the service and return the response.
|
protected String |
returnJsonResponse(Method method,
String uri,
Map<String,String> parameters,
String userHash)
Call the service and return the response.
|
protected AbstractBricksetService(String apiKey)
apiKey - your Rebrickable private key.protected String returnJsonResponse(Method method, String uri) throws BricksetException
method - http methodeuri - uriBricksetException - if status is not successprotected String returnJsonResponse(Method method, String uri, Map<String,String> parameters, String userHash) throws BricksetException
method - http methodeuri - uriparameters - request parametersuserHash - user hashBricksetException - if status is not successCopyright © 2020. All rights reserved.