public abstract class EASERequest extends Object
Constructor and Description |
---|
EASERequest(String method) |
Modifier and Type | Method and Description |
---|---|
abstract EASEResponse |
call(EASEEndpoint endpoint) |
protected <T extends EASEResponse> |
doJsonRpc(EASEEndpoint endpoint,
EASERequest request,
Class<T> responseClass) |
String |
getApiVersion() |
long |
getId() |
String |
getJsonrpc() |
String |
getMethod() |
public EASERequest(String method)
public long getId()
public String getJsonrpc()
public String getApiVersion()
public String getMethod()
public abstract EASEResponse call(EASEEndpoint endpoint) throws IOException
IOException
protected <T extends EASEResponse> T doJsonRpc(EASEEndpoint endpoint, EASERequest request, Class<T> responseClass) throws IOException
IOException
Copyright © 2004-2016. All Rights Reserved.