public interface ProxyAuthorizationManager
Modifier and Type | Method and Description |
---|---|
void |
addHandler(ProxyAuthorizationHandler pah)
Adds the specified
ProxyAuthorizationHandler . |
boolean |
handleProxyAuthorization(org.jboss.netty.handler.codec.http.HttpRequest httpRequest,
org.jboss.netty.channel.ChannelHandlerContext ctx)
Handles all aspects of authorizing the specified request, looping
through all registered
ProxyAuthorizationHandler s. |
void addHandler(ProxyAuthorizationHandler pah)
ProxyAuthorizationHandler
.pah
- The ProxyAuthorizationHandler
to add.boolean handleProxyAuthorization(org.jboss.netty.handler.codec.http.HttpRequest httpRequest, org.jboss.netty.channel.ChannelHandlerContext ctx)
ProxyAuthorizationHandler
s.httpRequest
- The HTTP request.ctx
- The context, including the underlying channel.true
if authorization succeeded, otherwise
false
.Copyright © 2009–2015 LittleShoot. All rights reserved.