public abstract class JsonrpcObject extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
JSONRPC
A constant for
jsonrpc attribute. |
| Constructor and Description |
|---|
JsonrpcObject() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Object |
getId()
Returns the current value of
id attribute. |
String |
getJsonrpc()
Returns the current value of
jsonrpc attribute. |
int |
hashCode() |
void |
setId(Object id)
Replaces current value of
id attribute with given. |
String |
toString() |
public static final String JSONRPC
jsonrpc attribute. The value is "2.0".public String getJsonrpc()
jsonrpc attribute.jsonrpc attribute.public Object getId()
id attribute.id attribute.public void setId(Object id)
id attribute with given.id - new value for id attribute.Copyright © 2019 Jinahya, Inc.. All rights reserved.