Interface CloudHttpTransport.Handler

Enclosing interface:
CloudHttpTransport

public static interface CloudHttpTransport.Handler
Receives the response of a request.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onResponse(int status, byte[] body, Map<String,String> headers)
    Called once per request on the EDT.
  • Method Details

    • onResponse

      void onResponse(int status, byte[] body, Map<String,String> headers)

      Called once per request on the EDT.

      Parameters
      • status: the HTTP status, or 0 when the request failed before a response

      • body: the response body, never null

      • headers: the response headers, keyed by lower case name