# Uses of Package
java.net

Packages that use java.net
Package
Description
com.sun.net.httpserver
Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.
com.sun.net.httpserver.spi
Provides a pluggable service provider interface, which allows the HTTP server implementation to be replaced with other implementations.
com.sun.nio.sctp
A Java API for Stream Control Transport Protocol.
com.sun.security.auth.login
Provides an implementation of `Configuration`.
java.applet
Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.
java.awt
Contains all of the classes for creating user interfaces and for painting graphics and images.
java.awt.desktop
Provides interfaces and classes for interaction with various desktop capabilities.
java.beans.beancontext
Provides classes and interfaces relating to bean context.
java.io
Provides for system input and output through data streams, serialization and the file system.
java.lang
Provides classes that are fundamental to the design of the Java programming language.
java.lang.module
Classes to support module descriptors and creating configurations of modules by means of resolution and service binding.
java.net
Provides the classes for implementing networking applications.
java.net.http
HTTP Client and WebSocket APIs
java.net.spi
Service-provider classes for the `java.net` package.
java.nio.channels
Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.
java.nio.channels.spi
Service-provider classes for the `java.nio.channels` package.
java.nio.file
Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
java.nio.file.spi
Service-provider classes for the `java.nio.file` package.
java.rmi
Provides the RMI package.
java.rmi.server
Provides classes and interfaces for supporting the server side of RMI.
java.security
Provides the classes and interfaces for the security framework.
java.security.cert
Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
java.sql
Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java programming language.
javax.imageio
The main package of the Java Image I/O API.
javax.management.loading
Provides the classes which implement advanced dynamic loading.
javax.management.remote
Interfaces for remote access to JMX MBean servers.
javax.net
Provides classes for networking applications.
javax.net.ssl
Provides classes for the secure socket package.
javax.print
Provides the principal classes and interfaces for the Java Print Service API.
javax.print.attribute
Provides classes and interfaces that describe the types of Java Print Service attributes and how they can be collected into attribute sets.
javax.print.attribute.standard
Package `javax.print.attribute.standard` contains classes for specific printing attributes.
javax.rmi.ssl
Provides implementations of `RMIClientSocketFactory` and `RMIServerSocketFactory` over the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.
javax.security.auth.kerberos
This package contains utility classes related to the Kerberos network authentication protocol.
javax.sound.midi
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.
javax.sound.midi.spi
Supplies interfaces for service providers to implement when offering new MIDI devices, MIDI file readers and writers, or sound bank readers.
javax.sound.sampled
Provides interfaces and classes for capture, processing, and playback of sampled audio data.
javax.sound.sampled.spi
Supplies abstract classes for service providers to subclass when offering new audio devices, sound file readers and writers, or audio format converters.
javax.sql
Provides the API for server side data source access and processing from the Java programming language.
javax.sql.rowset
Standard interfaces and base classes for JDBC `RowSet` implementations.
javax.sql.rowset.serial
Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.
javax.swing
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
javax.swing.event
Provides for events fired by Swing components.
javax.swing.plaf.synth
Synth is a skinnable look and feel in which all painting is delegated.
javax.swing.text.html
Provides the class `HTMLEditorKit` and supporting classes for creating HTML text editors.
javax.tools
Provides interfaces for tools which can be invoked from a program, for example, compilers.
javax.xml.catalog
Provides the classes for implementing XML Catalogs OASIS Standard V1.1, 7 October 2005.
javax.xml.validation
Provides an API for validation of XML documents.
jdk.net
Platform specific socket options for the `java.net` and `java.nio.channels` socket classes.
jdk.security.jarsigner
This package defines APIs for signing jar files.
org.ietf.jgss
This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API.

Classes in java.net used by com.sun.net.httpserver
Class
Description
InetSocketAddress
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.
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by com.sun.net.httpserver.spi
Class
Description
InetSocketAddress
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.
Classes in java.net used by com.sun.nio.sctp
Class
Description
InetAddress
This class represents an Internet Protocol (IP) address.
SocketAddress
This class represents a Socket Address with no protocol attachment.
SocketOption
A socket option associated with a socket.
Classes in java.net used by com.sun.security.auth.login
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by java.applet
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by java.awt
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by java.awt.desktop
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by java.beans.beancontext
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by java.io
Class
Description
MalformedURLException
Thrown to indicate that a malformed URL has occurred.
URI
Represents a Uniform Resource Identifier (URI) reference.
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by java.lang
Class
Description
InetAddress
This class represents an Internet Protocol (IP) address.
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by java.lang.module
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by java.net
Class
Description
Authenticator
The class Authenticator represents an object that knows how to obtain authentication for a network connection.
Authenticator.RequestorType
The type of the entity requesting authentication.
CacheRequest
Represents channels for storing resources in the ResponseCache.
CacheResponse
Represent channels for retrieving resources from the ResponseCache.
ContentHandler
The abstract class `ContentHandler` is the superclass of all classes that read an `Object` from a `URLConnection`.
ContentHandlerFactory
This interface defines a factory for content handlers.
CookieHandler
A CookieHandler object provides a callback mechanism to hook up a HTTP state management policy implementation into the HTTP protocol handler.
CookiePolicy
CookiePolicy implementations decide which cookies should be accepted and which should be rejected.
CookieStore
A CookieStore object represents a storage for cookie.
DatagramPacket
This class represents a datagram packet.
DatagramSocket
This class represents a socket for sending and receiving datagram packets.
DatagramSocketImpl
Abstract datagram and multicast socket implementation base class.
DatagramSocketImplFactory
This interface defines a factory for datagram socket implementations.
FileNameMap
A simple interface which provides a mechanism to map between a file name and a MIME type string.
HttpCookie
An HttpCookie object represents an HTTP cookie, which carries state information between server and user agent.
Inet6Address
This class represents an Internet Protocol version 6 (IPv6) address.
InetAddress
This class represents an Internet Protocol (IP) address.
InetSocketAddress
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.
InterfaceAddress
This class represents a Network Interface address.
MalformedURLException
Thrown to indicate that a malformed URL has occurred.
NetworkInterface
This class represents a Network Interface made up of a name, and a list of IP addresses assigned to this interface.
PasswordAuthentication
The class PasswordAuthentication is a data holder that is used by Authenticator.
ProtocolException
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
ProtocolFamily
Represents a family of communication protocols.
Proxy
This class represents a proxy setting, typically a type (http, socks) and a socket address.
Proxy.Type
Represents the proxy type.
ProxySelector
Selects the proxy server to use, if any, when connecting to the network resource referenced by a URL.
ResponseCache
Represents implementations of URLConnection caches.
ServerSocket
This class implements server sockets.
Socket
This class implements client sockets (also called just "sockets").
SocketAddress
This class represents a Socket Address with no protocol attachment.
SocketException
Thrown to indicate that there is an error creating or accessing a Socket.
SocketImpl
The abstract class `SocketImpl` is a common superclass of all classes that actually implement sockets.
SocketImplFactory
This interface defines a factory for socket implementations.
SocketOption
A socket option associated with a socket.
SocketOptions
Interface of methods to get/set socket options.
StandardProtocolFamily
Defines the standard families of communication protocols.
UnixDomainSocketAddress
A Unix domain socket address.
UnknownHostException
Thrown to indicate that the IP address of a host could not be determined.
URI
Represents a Uniform Resource Identifier (URI) reference.
URISyntaxException
Checked exception thrown to indicate that a string could not be parsed as a URI reference.
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
URLClassLoader
This class loader is used to load classes and resources from a search path of URLs referring to both JAR files and directories.
URLConnection
The abstract class `URLConnection` is the superclass of all classes that represent a communications link between the application and a URL.
URLStreamHandler
The abstract class `URLStreamHandler` is the common superclass for all stream protocol handlers.
URLStreamHandlerFactory
This interface defines a factory for `URL` stream protocol handlers.
Classes in java.net used by java.net.http
Class
Description
Authenticator
The class Authenticator represents an object that knows how to obtain authentication for a network connection.
CookieHandler
A CookieHandler object provides a callback mechanism to hook up a HTTP state management policy implementation into the HTTP protocol handler.
InetAddress
This class represents an Internet Protocol (IP) address.
ProxySelector
Selects the proxy server to use, if any, when connecting to the network resource referenced by a URL.
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by java.net.spi
Class
Description
InetAddress
This class represents an Internet Protocol (IP) address.
UnknownHostException
Thrown to indicate that the IP address of a host could not be determined.
URLStreamHandlerFactory
This interface defines a factory for `URL` stream protocol handlers.
Classes in java.net used by java.nio.channels
Class
Description
DatagramSocket
This class represents a socket for sending and receiving datagram packets.
InetAddress
This class represents an Internet Protocol (IP) address.
NetworkInterface
This class represents a Network Interface made up of a name, and a list of IP addresses assigned to this interface.
ProtocolFamily
Represents a family of communication protocols.
ServerSocket
This class implements server sockets.
Socket
This class implements client sockets (also called just "sockets").
SocketAddress
This class represents a Socket Address with no protocol attachment.
SocketOption
A socket option associated with a socket.
Classes in java.net used by java.nio.channels.spi
Class
Description
ProtocolFamily
Represents a family of communication protocols.
Classes in java.net used by java.nio.file
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by java.nio.file.spi
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by java.rmi
Class
Description
MalformedURLException
Thrown to indicate that a malformed URL has occurred.
Classes in java.net used by java.rmi.server
Class
Description
MalformedURLException
Thrown to indicate that a malformed URL has occurred.
ServerSocket
This class implements server sockets.
Socket
This class implements client sockets (also called just "sockets").
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by java.security
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by java.security.cert
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by java.sql
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by javax.imageio
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by javax.management.loading
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
URLClassLoader
This class loader is used to load classes and resources from a search path of URLs referring to both JAR files and directories.
URLStreamHandlerFactory
This interface defines a factory for `URL` stream protocol handlers.
Classes in java.net used by javax.management.remote
Class
Description
MalformedURLException
Thrown to indicate that a malformed URL has occurred.
Classes in java.net used by javax.net
Class
Description
InetAddress
This class represents an Internet Protocol (IP) address.
ServerSocket
This class implements server sockets.
Socket
This class implements client sockets (also called just "sockets").
UnknownHostException
Thrown to indicate that the IP address of a host could not be determined.
Classes in java.net used by javax.net.ssl
Class
Description
HttpURLConnection
A URLConnection with support for HTTP-specific features.
InetAddress
This class represents an Internet Protocol (IP) address.
ServerSocket
This class implements server sockets.
Socket
This class implements client sockets (also called just "sockets").
UnknownHostException
Thrown to indicate that the IP address of a host could not be determined.
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
URLConnection
The abstract class `URLConnection` is the superclass of all classes that represent a communications link between the application and a URL.
Classes in java.net used by javax.print
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by javax.print.attribute
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by javax.print.attribute.standard
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by javax.rmi.ssl
Class
Description
ServerSocket
This class implements server sockets.
Socket
This class implements client sockets (also called just "sockets").
Classes in java.net used by javax.security.auth.kerberos
Class
Description
InetAddress
This class represents an Internet Protocol (IP) address.
Classes in java.net used by javax.sound.midi
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by javax.sound.midi.spi
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by javax.sound.sampled
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by javax.sound.sampled.spi
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by javax.sql
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by javax.sql.rowset
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by javax.sql.rowset.serial
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by javax.swing
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by javax.swing.event
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by javax.swing.plaf.synth
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by javax.swing.text.html
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by javax.tools
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by javax.xml.catalog
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by javax.xml.validation
Class
Description
URL
Class `URL` represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
Classes in java.net used by jdk.net
Class
Description
DatagramSocket
This class represents a socket for sending and receiving datagram packets.
ServerSocket
This class implements server sockets.
Socket
This class implements client sockets (also called just "sockets").
SocketOption
A socket option associated with a socket.
Classes in java.net used by jdk.security.jarsigner
Class
Description
URI
Represents a Uniform Resource Identifier (URI) reference.
Classes in java.net used by org.ietf.jgss
Class
Description
InetAddress
This class represents an Internet Protocol (IP) address.