public class Token extends Instance implements Formattable
| Modifier and Type | Field and Description |
|---|---|
static String |
VALID_TOKEN_MESSAGE |
| Constructor and Description |
|---|
Token() |
Token(int status,
String content) |
Token(int status,
String content,
String message) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOk()
Check if this is token is correct.
|
Map<String,String> |
toMap()
Map a Token instance to its Java's Map representation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoJSON, toXMLpublic static final String VALID_TOKEN_MESSAGE
public Token()
public Token(int status,
String content)
public boolean isOk()
public Map<String,String> toMap()
toMap in interface FormattableCopyright © 2019. All rights reserved.