| Package | Description | 
|---|---|
| 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.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.net | Provides the classes for implementing networking applications. | 
| 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.channelspackage. | 
| 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.filepackage. | 
| 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 
JavaTM programming language. | 
| javax.activation | |
| 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 
JavaTM Print Service API. | 
| javax.print.attribute | Provides classes and interfaces
that describe the types of JavaTM 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  RMIClientSocketFactoryandRMIServerSocketFactoryover 
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 JavaTM programming language. | 
| javax.sql.rowset | Standard interfaces and base classes for JDBC  RowSetimplementations. | 
| 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  HTMLEditorKitand 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.bind | 
        Provides a runtime binding framework for client applications including
        unmarshalling, marshalling, and validation capabilities. | 
| javax.xml.bind.helpers | 
        JAXB Provider Use Only: Provides partial default implementations for 
        some of the javax.xml.bind interfaces. | 
| javax.xml.validation | 
                    This package provides an API for validation of XML documents. | 
| javax.xml.ws | This package contains the core JAX-WS APIs. | 
| javax.xml.ws.spi | This package defines SPIs for JAX-WS. | 
| javax.xml.ws.spi.http | Provides HTTP SPI that is used for portable deployment of JAX-WS
  web services in containers(for e.g. | 
| 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. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URI | Represents a Uniform Resource Identifier (URI) reference. | 
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| MalformedURLException | Thrown to indicate that a malformed URL has occurred. | 
| URI | Represents a Uniform Resource Identifier (URI) reference. | 
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| InetAddress | This class represents an Internet Protocol (IP) address. | 
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| 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  ContentHandleris the superclass
 of all classes that read anObjectfrom aURLConnection. | 
| 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. | 
| 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  SocketImplis 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. | 
| 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  URLrepresents 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  URLConnectionis the superclass
 of all classes that represent a communications link between the
 application and a URL. | 
| URLStreamHandler | The abstract class  URLStreamHandleris the common
 superclass for all stream protocol handlers. | 
| URLStreamHandlerFactory | This interface defines a factory for  URLstream
 protocol handlers. | 
| 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. | 
| Class | Description | 
|---|---|
| ProtocolFamily | Represents a family of communication protocols. | 
| Class | Description | 
|---|---|
| URI | Represents a Uniform Resource Identifier (URI) reference. | 
| Class | Description | 
|---|---|
| URI | Represents a Uniform Resource Identifier (URI) reference. | 
| Class | Description | 
|---|---|
| MalformedURLException | Thrown to indicate that a malformed URL has occurred. | 
| 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  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URI | Represents a Uniform Resource Identifier (URI) reference. | 
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URI | Represents a Uniform Resource Identifier (URI) reference. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents 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  URLstream
 protocol handlers. | 
| Class | Description | 
|---|---|
| MalformedURLException | Thrown to indicate that a malformed URL has occurred. | 
| 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. | 
| 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  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| URLConnection | The abstract class  URLConnectionis the superclass
 of all classes that represent a communications link between the
 application and a URL. | 
| Class | Description | 
|---|---|
| URI | Represents a Uniform Resource Identifier (URI) reference. | 
| Class | Description | 
|---|---|
| URI | Represents a Uniform Resource Identifier (URI) reference. | 
| Class | Description | 
|---|---|
| URI | Represents a Uniform Resource Identifier (URI) reference. | 
| Class | Description | 
|---|---|
| ServerSocket | This class implements server sockets. | 
| Socket | This class implements client sockets (also called just
 "sockets"). | 
| Class | Description | 
|---|---|
| InetAddress | This class represents an Internet Protocol (IP) address. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URI | Represents a Uniform Resource Identifier (URI) reference. | 
| Class | Description | 
|---|---|
| URI | Represents a Uniform Resource Identifier (URI) reference. | 
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| Class | Description | 
|---|---|
| URL | Class  URLrepresents a Uniform Resource
 Locator, a pointer to a "resource" on the World
 Wide Web. | 
| 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. | 
| Class | Description | 
|---|---|
| InetAddress | This class represents an Internet Protocol (IP) address. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.