public class Empty extends Message
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE
The message type.
|
EMPTY_MESSAGEEMPTY_JSON| Constructor and Description |
|---|
Empty()
Create a new Empty message.
|
| Modifier and Type | Method and Description |
|---|---|
Empty |
clone()
Create a clone of this Empty.
|
static Empty |
fromJsonObject(javax.json.JsonObject jsonObject)
Create a new Empty based on the given JSON object.
|
static Empty |
fromJsonString(String jsonString)
Create a new Empty based on the given JSON string.
|
static Empty |
fromMessage(Message m)
Create a new Empty based on the given Message.
|
getMessageType, setMessageTypeequals, hashCode, toJsonObject, toStringpublic static final String TYPE
public static Empty fromJsonString(String jsonString)
jsonString - The JSON string to parse.public static Empty fromMessage(Message m)
m - The Message to parse.public static Empty fromJsonObject(javax.json.JsonObject jsonObject)
jsonObject - The JSON object to parse.Copyright © 2014. All rights reserved.