Android
package

java.net

Classes | Description

Provides networking-related functionality, such as streaming and datagram sockets, handling of Internet addresses, and dealing with HTTP requests. more...

Interfaces

ContentHandlerFactory Defines a factory which is reponsible for creating a ContentHandler  
DatagramSocketImplFactory This interface defines a factory for datagram socket implementations. 
FileNameMap Defines a scheme for mapping a filename type to a MIME content type. 
SocketImplFactory This interface defines a factory for socket implementations. 
SocketOptions Defines the protocol to get & set Socket options. 
URLStreamHandlerFactory Defines a factory which creates URL Stream (protocol) Handler It is used by the classes URL  

Classes

Authenticator This class is able to obtain authentication info for a connection, usually from user. 
CacheRequest CacheRequest provides channels for storing resource data in the ResponseCache
CacheResponse CacheResponse is used for getting resource from the ResponseCache. 
ContentHandler This class converts the content of a certain format into a Java type Object. 
CookieHandler This class is ready for managing a stateful cookie with HTTP protocol  
DatagramPacket This class models a datagram packet to be sent or received. 
DatagramSocket This class models a socket for sending & receiving datagram packets. 
DatagramSocketImpl The abstract superclass of datagram & multicast socket implementations. 
HttpURLConnection This abstract subclass of URLConnection defines method for managing HTTP connection according to the description given by RFC 2068 
Inet4Address  
Inet6Address  
InetAddress The Internet Protocol (IP) address class. 
InetSocketAddress  
JarURLConnection This class establishes a connection to a URL using the jar protocol. 
MulticastSocket This class models a multicast socket for sending & receiving datagram packets to a multicast group. 
NetPermission This class represents permission to access network resources. 
NetworkInterface This class provides an methods that are used to get information about the network interfaces supported by the system  
PasswordAuthentication This class is a data structure that contains the username and password. 
Proxy This class is about proxy setting. 
ProxySelector

Selects applicable proxies when connecting to network resouce represented by a URI

ResponseCache ResponseCache implements URLConnection caches. 
SecureCacheResponse A secure cache response, which is orignally retrieved through secure ways. 
ServerSocket ServerSocket create connections between 'host' and 'client' machines. 
Socket This class represents sockets to be used in connection-oriented (streaming) protocols. 
SocketAddress  
SocketImpl The abstract superclass of all classes that implement streaming sockets. 
SocketPermission SocketPermissions represent permission to access resources via sockets. 
URI This class represents an instance of a URI as defined by RFC 2396. 
URL An instance of class URL specifies the location of a resource on the world wide web as specified by RFC 1738. 
URLClassLoader This class loader is responsible for loading classes and resources from a list of URLs which can refer to either directories or JAR files. 
URLConnection The URLConnection class is responsible for establishing a connection to an URL for a given protocol. 
URLDecoder This class is used to decode a string which is encoded in the application/x-www-form-urlencoded MIME content type. 
URLEncoder This class is used to encode a string using the format required by application/x-www-form-urlencoded MIME content type. 
URLStreamHandler The abstract superclass of all classes that implement Protocol Handler. 

Enums

Authenticator.RequestorType an enum class of requestor type  
Proxy.Type The proxy type, includes DIRECT, HTTP and SOCKS

Exceptions

BindException A BindException is thrown when a process cannot bind a local address/port, either because it is already bound or reserved by the OS. 
ConnectException This ConnectException is thrown when a connection cannot be established to a remote host/port, because for instance a server was not listening. 
HttpRetryException The exception to be thrown when a request cannot be retried. 
MalformedURLException This exception is thrown when a program attempts to create an URL from an incorrect specification. 
NoRouteToHostException The NoRouteToHostException may be thrown when attempting to connect to a remote machine and because of network fault or firewall, no route can be established. 
PortUnreachableException  
ProtocolException An attempt to connect to a socket of the wrong type (stream or nonstream) will trigger this exception. 
SocketException This SocketException may be thrown during socket creation or setting options, and is the superclass of all other socket related exceptions. 
SocketTimeoutException  
UnknownHostException This UnknownHostException is thrown when an IP address resolution is attempted and no host or resolver may be found. 
UnknownServiceException This UnknownServiceException is thrown when a particular service requested isn't support by the URL. 
URISyntaxException Represents an exception that occurred during parsing of a URI. 
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56