| Interface | Description |
|---|---|
| ContentHandlerFactory |
This interface maps MIME types to
ContentHandler objects. |
| DatagramSocketImplFactory |
This interface defines one method which returns a
DatagramSocketImpl object. |
| FileNameMap |
This interface has one method which, when passed a filename, returns
the MIME type associated with that filename.
|
| SocketImplFactory |
This interface defines one method which returns a
SocketImpl
object. |
| SocketOptions |
This interface is used by
SocketImpl and
DatagramSocketImpl to implement options
on sockets. |
| URLStreamHandlerFactory |
This interface contains one method which maps the protocol portion of
a URL (eg, "http" in "http://www.urbanophile.com/arenn/") to a
URLStreamHandler object. |
| Class | Description |
|---|---|
| Authenticator |
This abstract class provides a model for obtaining authentication
information (in the form of a username and password) required by
some network operations (such as hitting a password protected
web site).
|
| ContentHandler |
This is an abstract class that is the superclass for classes that read
objects from URL's.
|
| DatagramPacket |
This class models a packet of data that is to be sent across the network
using a connectionless protocol such as UDP.
|
| DatagramSocket |
This class models a connectionless datagram socket that sends
individual packets of data across the network.
|
| DatagramSocketImpl |
This abstract class models a datagram socket implementation.
|
| HttpURLConnection |
This class provides a common abstract implementation for those
URL connection classes that will connect using the HTTP protocol.
|
| Inet4Address | |
| Inet6Address | |
| InetAddress |
This class models an Internet address.
|
| InetSocketAddress |
InetSocketAddress instances represent socket addresses
in the java.nio package.
|
| JarURLConnection |
This abstract class represents a common superclass for implementations
of jar URL's.
|
| MulticastSocket |
This class models a multicast UDP socket.
|
| NetPermission |
This class is used to model miscellaneous network permissions.
|
| NetworkInterface |
This class models a network interface on the host computer.
|
| PasswordAuthentication |
This class serves a container for username/password pairs.
|
| Proxy |
Defines a proxy setting.
|
| ProxySelector |
Class for handling proxies for different connections.
|
| ServerSocket |
This class models server side sockets.
|
| Socket |
This class models a client site socket.
|
| SocketAddress |
Abstract base class for InetSocketAddress.
|
| SocketImpl |
This abstract class serves as the parent class for socket implementations.
|
| SocketPermission |
This class models a specific set of permssions for connecting to a
host.
|
| URI |
A URI instance represents that defined by
RFC3986,
with some deviations.
|
| URL |
This final class represents an Internet Uniform Resource Locator (URL).
|
| URLClassLoader |
A secure class loader that can load classes and resources from
multiple locations.
|
| URLConnection |
This class models a connection that retrieves the information pointed
to by a URL object.
|
| URLDecoder |
This utility class contains static methods that converts a
string encoded in the x-www-form-urlencoded format to the original
text.
|
| URLEncoder |
This utility class contains static methods that converts a
string into a fully encoded URL string in x-www-form-urlencoded
format.
|
| URLStreamHandler |
This class is the superclass of all URL protocol handlers.
|
| Enum | Description |
|---|---|
| Proxy.Type |
Represents the proxy type.
|
| Exception | Description |
|---|---|
| BindException |
This exception indicates that an error occurred while attempting to bind
socket to a particular port.
|
| ConnectException |
This exception indicates that an error occurred while attempting to
connect to a remote host.
|
| MalformedURLException |
This exception indicates that a URL passed to an object was not in a
valid format.
|
| NoRouteToHostException |
This exception indicates that there is no TCP/IP route to the requested
host.
|
| PortUnreachableException |
This exception signals that an ICMP port unreachable datagram has been
received.
|
| ProtocolException |
This exception indicates that some sort of low level protocol
exception occurred.
|
| SocketException |
This exception indicates that a generic error occurred related to an
operation on a socket.
|
| SocketTimeoutException |
This exception signals that a socket read or accept timed out.
|
| UnknownHostException |
This exception indicates that an attempt was made to reference a hostname
or IP address that is not valid.
|
| UnknownServiceException |
Contrary to what you might think, this does not indicate that the
TCP/IP service name specified was invalid.
|
| URISyntaxException |
This exception is thrown when a String cannot be parsed as a URI.
|