public class ApiRestResponse extends Object
ApiRestResponse class.
Constructor and Description |
---|
ApiRestResponse()
Constructor for ApiRestResponse.
|
ApiRestResponse(String status, String message)
Constructor for ApiRestResponse.
|
Modifier and Type | Method and Description |
---|---|
void |
failure()
failure.
|
void |
failure(int errorCode)
failure.
|
int |
getErrorcode()
Getter for the field
errorcode . |
String |
getMessage()
Getter for the field
message . |
String |
getSessionid()
Getter for the field
sessionid . |
String |
getStatus()
Getter for the field
status . |
String |
getStoken()
Getter for the field
stoken . |
void |
setErrorcode(int errorcode)
Setter for the field
errorcode . |
void |
setMessage(String message)
Setter for the field
message . |
void |
setSessionid(String sessionid)
Setter for the field
sessionid . |
void |
setStatus(String status)
Setter for the field
status . |
void |
setStoken(String stoken)
Setter for the field
stoken . |
void |
success()
success.
|
public void setStatus(String status)
Setter for the field status
.
status
- a String
object.public void setMessage(String message)
Setter for the field message
.
message
- a String
object.public void setSessionid(String sessionid)
Setter for the field sessionid
.
sessionid
- a String
object.public void failure()
failure.
public void failure(int errorCode)
failure.
errorCode
- a int.public void success()
success.
public void setErrorcode(int errorcode)
Setter for the field errorcode
.
errorcode
- a int.public int getErrorcode()
Getter for the field errorcode
.
Copyright © 2015 Oracle and/or its affiliates. All rights reserved.