Class Response

java.lang.Object
org.glassfish.admin.rest.testing.Response

public class Response extends Object
  • Constructor Details

    • Response

      public Response(String method, jakarta.ws.rs.core.Response jaxrsResponse)
    • Response

      public Response(String method, jakarta.ws.rs.core.Response jaxrsResponse, boolean readEntity)
  • Method Details

    • getJaxrsResponse

      public jakarta.ws.rs.core.Response getJaxrsResponse()
    • getMethod

      public String getMethod()
    • getStatus

      public int getStatus()
    • getStringBody

      public String getStringBody()
    • getJsonBody

      public org.codehaus.jettison.json.JSONObject getJsonBody() throws Exception
      Throws:
      Exception
    • getItem

      public org.codehaus.jettison.json.JSONObject getItem() throws Exception
      Throws:
      Exception
    • getLocationHeader

      public String getLocationHeader() throws Exception
      Throws:
      Exception
    • getXLocationHeader

      public String getXLocationHeader() throws Exception
      Throws:
      Exception