java.net |
Provides the classes for implementing networking applications. Using the socket
classes, you can communicate with any server on the Internet or implement your
own Internet server. A number of classes are provided to make it convenient to
use Universal Resource Locators (URLs) to retrieve data on the Internet.
@since JDK1.0
|
Java Source File Name | Type | Comment |
Authenticator.java | Class | The class Authenticator represents an object that knows how to obtain
authentication for a network connection. |
BindException.java | Class | Signals that an error occurred while attempting to bind a
socket to a local address and port. |
ConnectException.java | Class | Signals that an error occurred while attempting to connect a
socket to a remote address and port. |
ContentHandler.java | Class | The abstract class ContentHandler is the superclass
of all classes that read an Object from a
URLConnection . |
ContentHandlerFactory.java | Interface | This interface defines a factory for content handlers. |
DatagramPacket.java | Class | This class represents a datagram packet. |
DatagramSocket.java | Class | This class represents a socket for sending and receiving datagram packets.
A datagram socket is the sending or receiving point for a packet
delivery service. |
DatagramSocketImpl.java | Class | Abstract datagram and multicast socket implementation base class. |
DatagramSocketImplFactory.java | Interface | This interface defines a factory for datagram socket implementations. |
FileNameMap.java | Interface | A simple interface which provides a mechanism to map
between a file name and a MIME type string.
version: 1.11, 02/02/00 author: Steven B. |
HttpURLConnection.java | Class | A URLConnection with support for HTTP-specific features. |
Inet4Address.java | Class | This class represents an Internet Protocol version 4 (IPv4) address.
Defined by
RFC 790: Assigned Numbers,
RFC 1918: Address Allocation for Private Internets,
and RFC 2365:
Administratively Scoped IP Multicast
Textual representation of IPv4 address used as input to methods
takes one of the following forms:
When four parts are specified, each is interpreted as a byte of
data and assigned, from left to right, to the four bytes of an IPv4
address.
When a three part address is specified, the last part is
interpreted as a 16-bit quantity and placed in the right most two
bytes of the network address. |
Inet4AddressImpl.java | Class | |
Inet6Address.java | Class | This class represents an Internet Protocol version 6 (IPv6) address.
Defined by
RFC 2373: IP Version 6 Addressing Architecture.
Textual representation of IPv6 address used as input to methods
takes one of the following forms:
The preferred form is x:x:x:x:x:x:x:x, where the 'x's are
the hexadecimal values of the eight 16-bit pieces of the
address. |
Inet6AddressImpl.java | Class | |
InetAddress.java | Class | This class represents an Internet Protocol (IP) address.
An IP address is either a 32-bit or 128-bit unsigned number
used by IP, a lower-level protocol on which protocols like UDP and
TCP are built. |
InetAddressImpl.java | Interface | |
InetSocketAddress.java | Class | This class implements an IP Socket Address (IP address + port number)
It can also be a pair (hostname + port number), in which case an attempt
will be made to resolve the hostname. |
JarURLConnection.java | Class | A URL Connection to a Java ARchive (JAR) file or an entry in a JAR
file.
The syntax of a JAR URL is:
jar:<url>!/{entry}
for example:
jar:http://www.foo.com/bar/baz.jar!/COM/foo/Quux.class
Jar URLs should be used to refer to a JAR file or entries in
a JAR file. |
MalformedURLException.java | Class | Thrown to indicate that a malformed URL has occurred. |
MulticastSocket.java | Class | The multicast datagram socket class is useful for sending
and receiving IP multicast packets. |
NetPermission.java | Class | This class is for various network permissions.
A NetPermission contains a name (also referred to as a "target name") but
no actions list; you either have the named permission
or you don't.
The target name is the name of the network permission (see below). |
NetworkInterface.java | Class | This class represents a Network Interface made up of a name,
and a list of IP addresses assigned to this interface.
It is used to identify the local interface on which a multicast group
is joined. |
NoRouteToHostException.java | Class | Signals that an error occurred while attempting to connect a
socket to a remote address and port. |
PasswordAuthentication.java | Class | The class PasswordAuthentication is a data holder that is used by
Authenticator. |
PlainDatagramSocketImpl.java | Class | Concrete datagram and multicast socket implementation base class. |
PlainSocketImpl.java | Class | Default Socket Implementation. |
PortUnreachableException.java | Class | Signals that an ICMP Port Unreachable message has been
received on a connected datagram. |
ProtocolException.java | Class | Thrown to indicate that there is an error in the underlying
protocol, such as a TCP error. |
ServerSocket.java | Class | This class implements server sockets. |
Socket.java | Class | This class implements client sockets (also called just
"sockets"). |
SocketAddress.java | Class | This class represents a Socket Address with no protocol attachment. |
SocketException.java | Class | Thrown to indicate that there is an error in the underlying
protocol, such as a TCP error. |
SocketImpl.java | Class | The abstract class SocketImpl is a common superclass
of all classes that actually implement sockets. |
SocketImplFactory.java | Interface | This interface defines a factory for socket implementations. |
SocketInputStream.java | Class | This stream extends FileInputStream to implement a
SocketInputStream. |
SocketOptions.java | Interface | Interface of methods to get/set socket options. |
SocketOutputStream.java | Class | This stream extends FileOutputStream to implement a
SocketOutputStream. |
SocketPermission.java | Class | This class represents access to a network via sockets.
A SocketPermission consists of a
host specification and a set of "actions" specifying ways to
connect to that host. |
SocketTimeoutException.java | Class | Signals that a timeout has occurred on a socket read or accept. |
SocksConsts.java | Interface | Constants used by the SOCKS protocol implementation. |
SocksSocketImpl.java | Class | SOCKS (V4 & V5) TCP socket implementation (RFC 1928). |
SocksSocketImplFactory.java | Class | This factory creates an SocketImpl that implements the SOCKS protocol
(both V5 & V4). |
UnknownHostException.java | Class | Thrown to indicate that the IP address of a host could not be determined. |
UnknownServiceException.java | Class | Thrown to indicate that an unknown service exception has
occurred. |
URI.java | Class | Represents a Uniform Resource Identifier (URI) reference.
An instance of this class represents a URI reference as defined by RFC 2396: Uniform
Resource Identifiers (URI): Generic Syntax, amended by RFC 2732: Format for
Literal IPv6 Addresses in URLs and with the minor deviations noted
below. |
URISyntaxException.java | Class | Checked exception thrown to indicate that a string could not be parsed as a
URI reference. |
URL.java | Class | Class URL represents a Uniform Resource
Locator, a pointer to a "resource" on the World
Wide Web. |
URLClassLoader.java | Class | This class loader is used to load classes and resources from a search
path of URLs referring to both JAR files and directories. |
URLConnection.java | Class | The abstract class URLConnection is the superclass
of all classes that represent a communications link between the
application and a URL. |
URLDecoder.java | Class | Utility class for HTML form decoding. |
URLEncoder.java | Class | Utility class for HTML form encoding. |
URLStreamHandler.java | Class | The abstract class URLStreamHandler is the common
superclass for all stream protocol handlers. |
URLStreamHandlerFactory.java | Interface | This interface defines a factory for URL stream
protocol handlers. |
WinCEDatagramSocketImpl.java | Class | |