|
Java HTTP Server | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpHandler
A handler which is invoked to process HTTP exchanges. Each HTTP exchange is handled by one of these handlers.
Method Summary | |
---|---|
void |
handle(HttpExchange exchange)
Handle the given request and generate an appropriate response. |
Method Detail |
---|
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 response
NullPointerException
- if exchange is null
IOException
|
Java HTTP Server | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved.