# Package com.castlabs.android.network

package com.castlabs.android.network

- Related Packages
  Package
  Description
  com.castlabs.android
- Class
  Description
  ConnectivityCheck
  Implementations of this interface allow to check for internet connectivity.
  ConnectivityRegainedException
  This exception is thrown as a marker when the player lost connectivity, was waiting to re-gain it, and then got it back.
  CustomX509TrustManager
  Custom implementation of X509TrustManager uses two key stores: system default one and provided custom key store.
  DataSourceFactory
  Implementations of this interface are used to create `DataSource`s to fetch remote data.
  DefaultConnectivityCheck
  The default implementation of the connectivity checker.
  DefaultDataSourceFactory
  The default implementation of the `DataSourceFactory`.
  DefaultHttpDataSourceBuilder
  The default http data source builder.
  ExtendedDataSource
  A `DataSource` that supports multiple URI schemes.
  GoogleDNSConnectivityCheck
  Connectivity check implementation that attempts to connect to Google's public DNS server (8.8.8.8:53).
  HttpDataSourceBuilder
  Implementations of this interface are responsible for creating http data source instances.
  HttpListener
  Listener related to HTTP events.
  ModifierDataSourceFactory
  Delegating data source factory that will trigger all `RequestModifier`s registered with the player controller.
  NetworkConfiguration
  Network configuration for the Castlabs SDK.
  NetworkConfiguration.Builder
  Builder for `NetworkConfiguration` instances.
  NetworkMessage<HeaderValueType>
  Base class for network requests and responses
  Request
  A modifiable request.
  Request.RequestType
  Represents a request data type
  RequestModifier
  Implementation of this interface can intercept `Request`s and modify them before the request is sent.
  RequestModifier.Listener
  Listener related to `RequestModifier` events
  Response
  A modifiable response.
  Response.ResponseType
  Represents a request data type
  ResponseModifier
  Implementation of this interface can intercept `Response`s and modify them before the response is processed further.
  RetryConfiguration
  Configures the network request retry behaviour.
  RetryConfiguration.Builder
  Use this builder to create new instances of the retry configuration
  SocketConnectivityCheck
  Connectivity check that uses a socket connection to a specified host and port.
  UserAgent
  Instances of this class are used to construct the user agent that is used for HTTP requests.
  UserAgent.UserAgentFlags
  The flags that enable or disable field presence in the User-Agent.