public static class Empty.Response extends ServiceResponse
EMPTY_MESSAGEEMPTY_JSON| Constructor and Description |
|---|
Empty.Response()
Create a new Empty ServiceResponse.
|
Empty.Response(boolean result)
Create a new Empty ServiceResponse.
|
| Modifier and Type | Method and Description |
|---|---|
Empty.Response |
clone()
Create a clone of this Empty ServiceResponse.
|
static Empty.Response |
fromJsonObject(javax.json.JsonObject jsonObject)
Create a new Empty ServiceResponse based on the given JSON object.
|
static Empty.Response |
fromJsonString(String jsonString)
Create a new Empty ServiceResponse based on the given JSON string.
|
static Empty.Response |
fromServiceResponse(ServiceResponse resp)
Create a new Empty ServiceResponse based on the given
ServiceResponse.
|
getResult, getServiceResponseType, setServiceResponseTypeequals, hashCode, toJsonObject, toStringpublic Empty.Response()
public Empty.Response(boolean result)
result - The result flag for the response (i.e., if the service
server returned a success).public Empty.Response clone()
clone in class ServiceResponsepublic static Empty.Response fromJsonString(String jsonString)
jsonString - The JSON string to parse.public static Empty.Response fromServiceResponse(ServiceResponse resp)
m - The ServiceResponse to parse.public static Empty.Response fromJsonObject(javax.json.JsonObject jsonObject)
jsonObject - The JSON object to parse.Copyright © 2014. All rights reserved.