org.chromium.net

Annotations

ConnectionMigrationOptions.Experimental

An annotation for APIs which are not considered stable yet.

DnsOptions.Experimental

An annotation for APIs which are not considered stable yet.

Proxy.HttpConnectCallback.OnResponseReceivedAction

Actions that can be performed in response to onResponseReceived being called.

Proxy.Scheme

Schemes supported when defining a proxy.

ProxyOptions.AllProxiesFailedBehavior

Defines behavior after all proxies in a ProxyOptions have failed.

QuicOptions.Experimental

An annotation for APIs which are not considered stable yet.

QuicOptions.QuichePassthroughOption

An annotation for APIs which configure QUICHE options not curated by Cronet.

UrlRequest.Experimental

An annotation for APIs which are not considered stable yet.

Classes

AndroidProxyOptions
BidirectionalStream

Class for bidirectional sending and receiving of data over HTTP/2 or QUIC connections.

BidirectionalStream.Builder

Builder for BidirectionalStreams.

BidirectionalStream.Callback

Callback class used to receive callbacks from a BidirectionalStream.

ConnectionMigrationOptions

A class configuring Cronet's connection migration functionality.

ConnectionMigrationOptions.Builder

Builder for ConnectionMigrationOptions.

CronetEngine

An engine to process UrlRequests, which uses the best HTTP stack available on the current platform.

CronetEngine.Builder

A builder for CronetEngines, which allows runtime configuration of CronetEngine.

CronetEngine.Builder.LibraryLoader

A class which provides a method for loading the cronet native library.

CronetProvider

Provides a factory method to create CronetEngine.Builder instances.

DnsOptions

A class configuring Cronet's host resolution functionality.

DnsOptions.Builder

Builder for DnsOptions.

DnsOptions.StaleDnsOptions

A class configuring Cronet's stale DNS functionality.

DnsOptions.StaleDnsOptions.Builder

Builder for StaleDnsOptions.

NetworkQualityRttListener

Watches observations of various round trip times (RTTs) at various layers of the network stack.

NetworkQualityThroughputListener

Listener that is notified of throughput observations from the network quality estimator.

Proxy

Represents a proxy that can be used by CronetEngine.

Proxy.HttpConnectCallback

Controls tunnels established via HTTP CONNECT.

Proxy.HttpConnectCallback.Request

Represents an HTTP CONNECT request being sent to the proxy server.

ProxyOptions

Defines a proxy configuration that can be used by CronetEngine.

QuicOptions

Configuration options for QUIC in Cronet.

QuicOptions.Builder

Builder for QuicOptions.

RequestFinishedInfo

Information about a finished request.

RequestFinishedInfo.Listener

Listens for finished requests for the purpose of collecting metrics.

RequestFinishedInfo.Metrics

Metrics collected for a single request.

UploadDataProvider

Abstract class allowing the embedder to provide an upload body to UrlRequest.

UploadDataProviders

This class is deprecated.

use org.chromium.net.apihelpers.UploadDataProviders instead

UploadDataSink

Defines callbacks methods for UploadDataProvider.

UrlRequest

Controls an HTTP request (GET, PUT, POST etc).

UrlRequest.Builder

Builder for UrlRequests.

UrlRequest.Callback

Users of Cronet extend this class to receive callbacks indicating the progress of a UrlRequest being processed.

UrlRequest.Status

Request status values returned by getStatus.

UrlRequest.StatusListener

Listener class used with getStatus to receive the status of a UrlRequest.

UrlResponseInfo

Basic information about a response.

UrlResponseInfo.HeaderBlock

Unmodifiable container of response headers or trailers.

Exceptions

CallbackException

Exception passed to UrlRequest.Callback.onFailed() when UrlRequest.Callback or UploadDataProvider method throws an exception.

CronetException

Base exception passed to UrlRequest.Callback.onFailed().

InlineExecutionProhibitedException

Thrown when an executor runs a submitted runnable inline in execute and allowDirectExecutor was not called.

NetworkException

Exception passed to UrlRequest.Callback.onFailed() when Cronet fails to process a network request.

QuicException

Subclass of NetworkException which contains a detailed QUIC error code from QuicErrorCode.