Class Summary |
Authenticator |
An abstract base class that defines a call-back mechanism invoked when a network protocol requires authentication. |
DatagramPacket |
Class to represent a datagram packet. |
DatagramSocket |
Provides a Berkeley socket interface for UDP datagram sockets. |
DatagramSocketImpl |
An abstract base class providing an interface for classes that implement datagram sockets. |
DatagramSocketImplFactory |
Factory class for creating instances of DatagramSocketImpl. |
FtpClient |
Creates and manages a client connection with a remote FTP server. |
HttpURLConnection |
A specialized URLConnection class that represents a connection with a resource specified by a HTTP URL. |
InetAddress |
An abstract class representing an Internet host's IP address. |
MulticastSocket |
A socket used for sending and receiving IP multicast packets. |
ServerSocket |
Handles incoming TCP/IP connections. |
Socket |
Provides a Berkeley socket interface for TCP/IP stream sockets. |
SocketDescriptor |
An abstract base class representing socket handles. |
SocketImpl |
An abstract base class providing an interface for classes that implement sockets. It is used for both client and server sockets. |
SocketImplFactory |
Factory class for creating instances of SocketImpl. |
TcpNetworkClient |
An abstract base class for utilities that require a TCP/IP connection to a network server. |
URL |
Represents a Uniform Resource Locator (URL). |
URLConnection |
An abstract base class that represents a connection to a resource specified by a URL. |
URLDecoder |
A class module containing static methods for decoding strings that have been transmitted as an escaped URL. |
URLEncoder |
A class module containing static methods for encoding strings into a form that can be transmitted as a URL. |
URLStreamHandler |
An abstract base class for dealing with the protocol-specific aspects of URL handling. |
URLStreamHandlerFactory |
Factory class for creating instances of URLStreamHandler. |
Exception Summary |
BindException |
Thrown when an error occurs while attempting to bind a ServerSocket to a specific IP address or port. |
ConnectException |
Thrown when an error occurs while attempting to connect a socket to an IP address and port. This usually indicates that no process was listening on the IP address/port or that the request was rejected by a firewall. |
MalformedURLException |
Thrown when an error occurs parsing a URL specification string. This usually indicates that the specification did not contain a recognized protocol (e.g. http). |
NoRouteToHostException |
Thrown when an error occurs while attempting to connect a socket to a remote IP address and port. This indicates that the remote IP address was either unreachable or that the request timed-out for another reason. |
ProtocolException |
Thrown when an unexpected response is received from a remote server. |
SocketException |
Thrown when an error occurs while performing network socket operations. |
SocketTimeoutException |
Thrown when a time-out occurs on a socket performing a read(), accept() or connect() call. |
UnknownHostException |
Thrown when attempting to connect to a network host name that cannot be resolved. |