public class JsonRpcRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonRpcRequest.Builder |
static class |
JsonRpcRequest.Type |
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected String |
method |
protected Map<String,String> |
params |
protected JsonRpcRequest.Type |
type |
| Constructor and Description |
|---|
JsonRpcRequest() |
| Modifier and Type | Method and Description |
|---|---|
static JsonRpcRequest.Builder |
builder() |
static List<JsonRpcRequest> |
combine(JsonRpcRequest... requests)
Combine a sequence of JsonRpcRequests into a list.
|
boolean |
equals(Object o) |
String |
getId() |
String |
getMethod() |
Map<String,String> |
getParams() |
JsonRpcRequest.Type |
getType() |
int |
hashCode() |
static JsonRpcRequest.Builder |
notifBuilder() |
String |
toString() |
protected String method
protected String id
protected JsonRpcRequest.Type type
public String getMethod()
public String getId()
public JsonRpcRequest.Type getType()
public static List<JsonRpcRequest> combine(JsonRpcRequest... requests)
requests - the JsonRpcRequestspublic static JsonRpcRequest.Builder builder()
public static JsonRpcRequest.Builder notifBuilder()
Copyright © 2017. All rights reserved.