public interface HttpHandler
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRootContextPath() |
void |
handle(HttpExchange exchange)
Handles a HttpExchange containing a HttpRequest.
|
java.lang.String getRootContextPath()
void handle(HttpExchange exchange) throws java.io.IOException
exchange
- the HttpExchange objectjava.io.IOException
- handling the request (e.g. a org.eclipse.jetty.http.HttpException
)