org.chromium.net.apihelpers

Interfaces

CronetRequestCompletionListener

A completion listener for accepting the results of a Cronet request asynchronously.

RedirectHandler

An interface for classes specifying how Cronet should behave on redirects.

Classes

ByteArrayCronetCallback

A specialization of InMemoryTransformCronetCallback which returns the body bytes verbatim without any interpretation.

CronetResponse

A helper object encompassing the headers, body and metadata of a response to Cronet URL requests.

ImplicitFlowControlCallback

An implementation of UrlRequest.Callback that takes away the difficulty of managing the request lifecycle away, and automatically proceeds to read the response entirely.

InMemoryTransformCronetCallback

An abstract Cronet callback that reads the entire body to memory and optionally deserializes the body before passing it back to the issuer of the HTTP request.

JsonCronetCallback

A specialization of InMemoryTransformCronetCallback that interprets the response body as JSON.

RedirectHandlers

Utility class for standard RedirectHandler implementations.

StringCronetCallback

A specialization of InMemoryTransformCronetCallback that interprets the response body as a string.

UploadDataProviders

Provides implementations of UploadDataProvider for common use cases.

UrlRequestCallbacks

Utility class for creating simple, convenient UrlRequest.Callback implementations for reading common types of responses.

UrlRequestCallbacks.CallbackAndResponseFuturePair

A named pair-like structure encapsulating Cronet callbacks and associated response futures.