Networking Classes and Interfaces in Java

Java supports TCP/IP both by extending the already established stream I/O interface and by adding the features required to build I/O objects across the network. Java supports both the TCP and UDP protocol families. TCP is used for reliable stream-based I/O across the network. UDP supports a simpler, hence faster, point-to-point datagram-oriented model.

Networking Classes in Java:

AuthenticatorInetAddressSecureCacheResponse
CacheRequestInet4AddressServerSocket
CacheResponseInet6AddressSocket
ContentHandlerInetSocketAddressSocketAddress
CookieHandlerInterfaceAddressSocketImpl
CookieManagerJarURLConnectionSocketPermission
DatagramPacketMulticastSocketURLClassLoader
DatagramSocketNetPermissionURLConnection
DatagramSocketImplNetworkInterfaceURLDecoder
HttpCookiePasswordAuthenticationURLEncoder
HttpURLConnectionProxyURLStreamHandler
IDNProxySelectorResponseCache

Networking Interfaces in Java:

ContentHandlerFactoryDatagramSocketImplFactorySocketOptions
CookiePolicyFileNameMapSocketOptions
CookieStoreSocketImplFactoryURLStreamHandlerFactory