public interface HttpHandler
A handler which is invoked to process HTTP exchanges. Each
 HTTP exchange is handled by one of these handlers.
- Since:
 - 1.6
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(HttpExchange exchange) Handle the given request and generate an appropriate response. 
- 
Method Details
- 
handle
Handle the given request and generate an appropriate response. SeeHttpExchangefor a description of the steps involved in handling an exchange.- Parameters:
 exchange- the exchange containing the request from the client and used to send the response- Throws:
 NullPointerException- if exchange isnullIOException- if an I/O error occurs
 
 -