Class Response

java.lang.Object
org.apache.ofbiz.ws.rs.response.Response

public class Response extends Object
  • 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

      public String getStatusDescription()
      Returns:
      the statusDescription
    • setStatusDescription

      public void setStatusDescription(String statusDescription)
      Parameters:
      statusDescription - the statusDescription to set
    • getSuccess

      public Success getSuccess()
      Returns:
      the success
    • setSuccess

      public void setSuccess(Success success)
      Parameters:
      success - the success to set
    • getError

      public Error getError()
      Returns:
      the error
    • setError

      public void setError(Error error)
      Parameters:
      error - the error to set