public abstract class AbstractRebrickableService extends Object implements IService
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRebrickableService(String privateKey)
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)
Call the service and return the response.
|
void |
setKey(String key) |
protected AbstractRebrickableService(String privateKey)
privateKey - your Rebrickable private key.protected String returnJsonResponse(Method method, String uri) throws RebrickableException
method - http methodeuri - uriRebrickableException - exceptionprotected String returnJsonResponse(Method method, String uri, Map<String,String> parameters) throws RebrickableException
method - http methodeuri - uriparameters - request parametersRebrickableException - exceptionCopyright © 2022. All rights reserved.