javax.net (Java SE 21 & JDK 21)
Description: declaration: module: java.base, package: javax.net
Keywords: javax.net package

Module java.base

# Package javax.net

package javax.net
Provides classes for networking applications. These classes include factories for creating sockets. Using socket factories you can encapsulate socket creation and configuration behavior.

Since:
  1.4

- Related Packages
  Package
  Description
  javax.net.ssl
  Provides classes for the secure socket package.
- Classes
  Class
  Description
  ServerSocketFactory
  This class creates server sockets.
  SocketFactory
  This class creates sockets.