Class CustomResponseBody

java.lang.Object
com.luna.common.net.async.CustomResponseBody

public final class CustomResponseBody extends Object
Message body representation as a simple text string or an array of bytes.
Since:
5.0
  • Method Details

    • getContentType

      public org.apache.hc.core5.http.ContentType getContentType()
    • getBodyBytes

      public byte[] getBodyBytes()
    • getBodyText

      public String getBodyText()
    • isText

      public boolean isText()
    • isBytes

      public boolean isBytes()
    • toString

      public String toString()
      Overrides:
      toString in class Object