java.lang.Object
com.djrapitops.plan.delivery.web.resolver.Response

public final class Response extends Object
Represents a response that will be sent over HTTP.
See Also:
  • Method Details

    • builder

      public static ResponseBuilder builder()
    • getBytes

      public byte[] getBytes()
    • getAsString

      public String getAsString()
    • getCode

      public int getCode()
    • getHeaders

      public Map<String,String> getHeaders()
    • getCharset

      public Optional<Charset> getCharset()
    • isErrorResponse

      public boolean isErrorResponse()