HttpHandlerpublic class AuthenticationConstraintHandler extends Object implements HttpHandler
| Constructor | Description |
|---|---|
AuthenticationConstraintHandler(HttpHandler next) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
handleRequest(HttpServerExchange exchange) |
Handle the request.
|
protected boolean |
isAuthenticationRequired(HttpServerExchange exchange) |
Evaluate the current request and indicate if authentication is required for the current request.
|
public AuthenticationConstraintHandler(HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionHttpHandler.handleRequest(io.undertow.server.HttpServerExchange)protected boolean isAuthenticationRequired(HttpServerExchange exchange)
exchange - - the HttpServerExchange for the current request to decide if authentication is required.Copyright © 2018. All rights reserved.