public abstract class ClientListenerResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_FAILED
Command failed.
|
static int |
STATUS_SUCCESS
Command succeeded.
|
| Constructor and Description |
|---|
ClientListenerResponse(int status,
String err)
Constructs failed rest response.
|
| Modifier and Type | Method and Description |
|---|---|
String |
error() |
void |
error(String err) |
int |
status() |
void |
status(int status) |
public static final int STATUS_SUCCESS
public static final int STATUS_FAILED
public ClientListenerResponse(int status,
@Nullable
String err)
status - Response status.err - Error, null if success is true.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019