public class AuthenticatingDecorator extends Object implements HttpServerRequestHandler
HttpServerRequestHandler.ResponseTrigger| Constructor and Description | 
|---|
| AuthenticatingDecorator(HttpServerRequestHandler requestHandler,
                       AuthenticationHandler<String> authenticationHandler,
                       Authenticator authenticator) | 
| AuthenticatingDecorator(HttpServerRequestHandler requestHandler,
                       Authenticator authenticator) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | customizeUnauthorizedResponse(ClassicHttpResponse unauthorized) | 
| void | handle(ClassicHttpRequest request,
      HttpServerRequestHandler.ResponseTrigger responseTrigger,
      HttpContext context) | 
public AuthenticatingDecorator(HttpServerRequestHandler requestHandler, AuthenticationHandler<String> authenticationHandler, Authenticator authenticator)
public AuthenticatingDecorator(HttpServerRequestHandler requestHandler, Authenticator authenticator)
protected void customizeUnauthorizedResponse(ClassicHttpResponse unauthorized)
public void handle(ClassicHttpRequest request, HttpServerRequestHandler.ResponseTrigger responseTrigger, HttpContext context) throws HttpException, IOException
handle in interface HttpServerRequestHandlerHttpExceptionIOExceptionCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.