public class AuthenticatingDecorator extends Object implements org.apache.hc.core5.http.io.HttpServerRequestHandler
Constructor and Description |
---|
AuthenticatingDecorator(org.apache.hc.core5.http.io.HttpServerRequestHandler requestHandler,
Authenticator authenticator) |
Modifier and Type | Method and Description |
---|---|
protected void |
customizeUnauthorizedResponse(org.apache.hc.core5.http.ClassicHttpResponse unauthorized) |
void |
handle(org.apache.hc.core5.http.ClassicHttpRequest request,
org.apache.hc.core5.http.io.HttpServerRequestHandler.ResponseTrigger responseTrigger,
org.apache.hc.core5.http.protocol.HttpContext context) |
public AuthenticatingDecorator(org.apache.hc.core5.http.io.HttpServerRequestHandler requestHandler, Authenticator authenticator)
protected void customizeUnauthorizedResponse(org.apache.hc.core5.http.ClassicHttpResponse unauthorized)
public void handle(org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.io.HttpServerRequestHandler.ResponseTrigger responseTrigger, org.apache.hc.core5.http.protocol.HttpContext context) throws org.apache.hc.core5.http.HttpException, IOException
handle
in interface org.apache.hc.core5.http.io.HttpServerRequestHandler
org.apache.hc.core5.http.HttpException
IOException
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.