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
| Authenticator | InetAddress | SecureCacheResponse |
| CacheRequest | Inet4Address | ServerSocket |
| CacheResponse | Inet6Address | Socket |
| ContentHandler | InetSocketAddress | SocketAddress |
| CookieHandler | InterfaceAddress | SocketImpl |
| CookieManager | JarURLConnection | SocketPermission |
| DatagramPacket | MulticastSocket | URLClassLoader |
| DatagramSocket | NetPermission | URLConnection |
| DatagramSocketImpl | NetworkInterface | URLDecoder |
| HttpCookie | PasswordAuthentication | URLEncoder |
| HttpURLConnection | Proxy | URLStreamHandler |
| IDN | ProxySelector | ResponseCache |
Networking Interfaces in Java
| ContentHandlerFactory | DatagramSocketImplFactory | SocketOptions |
| CookiePolicy | FileNameMap | SocketOptions |
| CookieStore | SocketImplFactory | URLStreamHandlerFactory |