public class SendErrorPageHandler extends Object implements HttpHandler
Constructor and Description |
---|
SendErrorPageHandler(HttpHandler next)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
handleRequest(HttpServerExchange exchange)
Handle the request.
|
public SendErrorPageHandler(HttpHandler next)
next
- The next handler to call if there is no error responsepublic void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
Copyright © 2021 JBoss by Red Hat. All rights reserved.