Chapter 1 : Network Basic Concepts
Networks
The Layers of a Network
IP, TCP, and UDP
The Internet
The Client/Server Model
Internet Standards
Chapter 2 : Streams
Output Streams
Input Streams
Filter Streams
Readers and Writers
Chapter 3 : Threads
Running Threads
Returning Information from a Thread
Synchronization
Deadlock
Thread Scheduling
Thread Pools and Executors
Chapter 4 : Internet Addresses
The InetAddress Class
Inet4Address and Inet6Address
The NetworkInterface Class
Some Useful Programs
Chapter 5 : URLs and URIs
URIs
The URL Class
The URI Class
x-www-form-urlencoded
Proxies
Communicating with Server-Side Programs Through GET
Accessing Password-Protected Sites
Chapter 6 : HTTP
The Protocol
HTTP Methods
The Request Body
Cookies
Chapter 7 : URLConnections
Opening URLConnections
Reading Data from a Server
Reading the Header
Caches
Configuring the Connection
Configuring the Client Request HTTP Header
Writing Data to a Server
Security Considerations for URLConnections
Guessing MIME Media Types
HttpURLConnection
Chapter 8 : Sockets for Clients
Using Sockets
Constructing and Connecting Sockets
Getting Information About a Socket
Setting Socket Options
Socket Exceptions
Sockets in GUI Applications
Chapter 9 : Sockets for Servers
Using ServerSockets
Logging
Constructing Server Sockets
Getting Information About a Server Socket
Socket Options
HTTP Servers
Chapter 10 : Secure Sockets
Secure Communications
Creating Secure Client Sockets
Choosing the Cipher Suites
Event Handlers
Session Management
Client Mode
Creating Secure Server Sockets
Configuring SSLServerSockets
Chapter 11 : Nonblocking I/O
An Example Client
An Example Server
Buffers
Channels
Readiness Selection
Chapter 12 : UDP
The UDP Protocol
UDP Clients
UDP Servers
The DatagramPacket Class
The DatagramSocket Class
Socket Options
Some Useful Applications
DatagramChannel
Chapter 13 : IP Multicast
Multicasting
Working with Multicast Sockets
Two Simple Examples
Index
Colophon
Відгуки про Java Network Programming, 4th Edition Developing Applications Networked