public interface HttpHandler
Modifier and Type | Method | Description |
---|---|---|
void |
handle(HttpExchange exchange) |
Handle the given request and generate an appropriate response.
|
void handle(HttpExchange exchange) throws IOException
HttpExchange
for a description of the steps
involved in handling an exchange.exchange
- the exchange containing the request from the
client and used to send the responseNullPointerException
- if exchange is null
IOException
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b153-1