public abstract class Payload extends Object
| 构造器和说明 |
|---|
Payload() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
addDictionary(String key,
Object value)
addDictionary.
|
int |
getExpiry()
Getter for the field
expiry. |
int |
getIdentifier()
Getter for the field
identifier. |
Object |
removeDictionary(String key)
removeDictionary.
|
void |
setExpiry(int expiry)
Setter for the field
expiry. |
byte[] |
toJsonBytes()
toJsonBytes.
|
String |
toJsonString()
toJsonString.
|
public byte[] toJsonBytes()
toJsonBytes.
public int getIdentifier()
Getter for the field identifier.
public int getExpiry()
Getter for the field expiry.
public void setExpiry(int expiry)
Setter for the field expiry.
expiry - a int.Copyright © 2015. All rights reserved.