public class JsonRpcResponse<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonRpcResponse.Builder<T> |
| Modifier and Type | Field and Description |
|---|---|
protected Error |
error |
protected String |
id |
protected T |
result |
| Constructor and Description |
|---|
JsonRpcResponse() |
| Modifier and Type | Method and Description |
|---|---|
static <T> JsonRpcResponse.Builder<T> |
builder() |
boolean |
equals(Object o) |
Error |
getError() |
String |
getId() |
T |
getResult() |
int |
hashCode() |
String |
toString() |
public String getId()
public T getResult()
public Error getError()
public static <T> JsonRpcResponse.Builder<T> builder()
T - type inference for resultCopyright © 2017. All rights reserved.