Interface HttpSender.Response

Enclosing interface:
HttpSender

public static interface HttpSender.Response
The HTTP response.

This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    The HTTP response body.
    int
    The HTTP status code.
    The HTTP status message.
  • Method Details

    • statusCode

      int statusCode()
      The HTTP status code.
    • statusMessage

      String statusMessage()
      The HTTP status message.
    • responseBody

      byte[] responseBody() throws IOException
      The HTTP response body.
      Throws:
      IOException