Package org.apache.ofbiz.ws.rs.response
Class Response
java.lang.Object
org.apache.ofbiz.ws.rs.response.Response
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
int
void
void
setStatusCode
(int statusCode) void
setStatusDescription
(String statusDescription) void
setSuccess
(Success success)
-
Constructor Details
-
Response
public Response()
-
-
Method Details
-
getStatusCode
public int getStatusCode()- Returns:
- the statusCode
-
setStatusCode
public void setStatusCode(int statusCode) - Parameters:
statusCode
- the statusCode to set
-
getStatusDescription
- Returns:
- the statusDescription
-
setStatusDescription
- Parameters:
statusDescription
- the statusDescription to set
-
getSuccess
- Returns:
- the success
-
setSuccess
- Parameters:
success
- the success to set
-
getError
- Returns:
- the error
-
setError
- Parameters:
error
- the error to set
-