Interface HttpResponse


public interface HttpResponse
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
     
    int
     
    default String
     
    of(int code, byte[] body)
     
  • Method Details

    • code

      int code()
    • body

      byte[] body()
    • contentType

      default String contentType()
    • of

      static HttpResponse of(int code, byte[] body)