Class BinaryResponse

java.lang.Object
com.soklet.web.response.BinaryResponse
All Implemented Interfaces:
Response

public class BinaryResponse extends Object implements Response
Author:
Transmogrify LLC.
  • Constructor Details

    • BinaryResponse

      public BinaryResponse(String contentType, InputStream inputStream)
    • BinaryResponse

      public BinaryResponse(int status, String contentType, InputStream inputStream)
  • Method Details

    • status

      public int status()
      Specified by:
      status in interface Response
    • contentType

      public String contentType()
    • inputStream

      public InputStream inputStream()