Interface HttpResponse

All Known Implementing Classes:
HttpServletResponseWrapper, MockHttpResponse

public interface HttpResponse
Bridge interface between the base Resteasy JAX-RS implementation and the actual HTTP transport (i.e. a servlet container)
Version:
$Revision: 1 $
  • Method Details

    • getStatus

      int getStatus()
    • setStatus

      void setStatus(int status)
    • getOutputHeaders

      javax.ws.rs.core.MultivaluedMap<String,Object> getOutputHeaders()
    • getOutputStream

      OutputStream getOutputStream() throws IOException
      Throws:
      IOException
    • setOutputStream

      void setOutputStream(OutputStream os)
    • addNewCookie

      void addNewCookie(javax.ws.rs.core.NewCookie cookie)
    • sendError

      void sendError(int status) throws IOException
      Throws:
      IOException
    • sendError

      void sendError(int status, String message) throws IOException
      Throws:
      IOException
    • isCommitted

      boolean isCommitted()
    • reset

      void reset()
      reset status and headers. Will fail if response is committed