Since: API Level 1
package

android.net

Classes | Description

Classes that help with network access, beyond the normal java.net.* APIs.

more...

Interfaces

UrlQuerySanitizer.ValueSanitizerA functor used to sanitize a single query value. 

Classes

ConnectivityManagerClass that answers queries about the state of network connectivity. 
CredentialsA class for representing UNIX credentials passed via ancillary data on UNIX domain sockets. 
DhcpInfoA simple object for retrieving the results of a DHCP request. 
LocalServerSocketnon-standard class for creating inbound UNIX-domain socket on the Android platform, this is created in the Linux non-filesystem namespace. 
LocalSocketCreates a (non-server) socket in the UNIX-domain namespace. 
LocalSocketAddressA UNIX-domain (AF_LOCAL) socket address. 
MailToMailTo URL parser This class parses a mailto scheme URL and then can be queried for the parsed parameters. 
NetworkInfoDescribes the status of a network interface of a given type (currently either Mobile or Wifi). 
ProxyA convenience class for accessing the user and default proxy settings. 
SSLCertificateSocketFactorySSLSocketFactory implementation with several extra features:
  • Timeout specification for SSL handshake operations
  • Hostname verification in most cases (see WARNINGs below)
  • Optional SSL session caching with SSLSessionCache
  • Optionally bypass all SSL certificate checks
The handshake timeout does not apply to actual TCP socket connection. 
SSLSessionCacheFile-based cache of established SSL sessions. 
TrafficStatsClass that provides network traffic statistics. 
UriImmutable URI reference. 
Uri.BuilderHelper class for building or manipulating URI references. 
UrlQuerySanitizerSanitizes the Query portion of a URL. 
UrlQuerySanitizer.IllegalCharacterValueSanitizerSanitize values based on which characters they contain. 
UrlQuerySanitizer.ParameterValuePairA simple tuple that holds parameter-value pairs. 

Enums

LocalSocketAddress.NamespaceThe namespace that this address exists in. 
NetworkInfo.DetailedStateThe fine-grained state of a network connection. 
NetworkInfo.StateCoarse-grained network state. 

Exceptions

ParseExceptionWhen WebAddress Parser Fails, this exception is thrown