HttpHandler
public class CanonicalPathHandler extends Object implements HttpHandler
Modifier and Type | Class | Description |
---|---|---|
static class |
CanonicalPathHandler.Builder |
Constructor | Description |
---|---|
CanonicalPathHandler() |
|
CanonicalPathHandler(HttpHandler next) |
Modifier and Type | Method | Description |
---|---|---|
HttpHandler |
getNext() |
|
void |
handleRequest(HttpServerExchange exchange) |
Handle the request.
|
CanonicalPathHandler |
setNext(HttpHandler next) |
public CanonicalPathHandler()
public CanonicalPathHandler(HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
public HttpHandler getNext()
public CanonicalPathHandler setNext(HttpHandler next)
Copyright © 2018. All rights reserved.