HttpHandler
public class ConnectHandler extends Object implements HttpHandler
Constructor | Description |
---|---|
ConnectHandler(HttpHandler next) |
|
ConnectHandler(HttpHandler next,
Predicate allowed) |
Modifier and Type | Method | Description |
---|---|---|
void |
handleRequest(HttpServerExchange exchange) |
Handle the request.
|
public ConnectHandler(HttpHandler next)
public ConnectHandler(HttpHandler next, Predicate allowed)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
Copyright © 2018. All rights reserved.