Interface IResponse

All Known Implementing Classes:
Response

public interface IResponse
An interface for Response. Built to enable easier testing on web handlers.
  • Method Details

    • getExtraHeaders

      Map<String,String> getExtraHeaders()
      Any extra headers set on the Response by the developer
    • getStatusCode

      StatusLine.StatusCode getStatusCode()
      The StatusLine.StatusCode set by the developer for this Response.
    • getBody

      byte[] getBody()
      Returns the bytes of the Response body being sent to the client