public class HttpActionHandler extends Object
Modifier and Type | Field and Description |
---|---|
static io.netty.util.AttributeKey<InetSocketAddress> |
REMOTE_SOCKET |
Constructor and Description |
---|
HttpActionHandler(Configuration configuration,
io.netty.channel.EventLoopGroup eventLoopGroup,
HttpState httpStateHandler,
List<ProxyConfiguration> proxyConfigurations,
NettySslContextFactory nettySslContextFactory) |
Modifier and Type | Method and Description |
---|---|
NettyHttpClient |
getHttpClient() |
static InetSocketAddress |
getRemoteAddress(io.netty.channel.ChannelHandlerContext ctx) |
void |
processAction(HttpRequest request,
ResponseWriter responseWriter,
io.netty.channel.ChannelHandlerContext ctx,
Set<String> localAddresses,
boolean proxyingRequest,
boolean synchronous) |
public static final io.netty.util.AttributeKey<InetSocketAddress> REMOTE_SOCKET
public HttpActionHandler(Configuration configuration, io.netty.channel.EventLoopGroup eventLoopGroup, HttpState httpStateHandler, List<ProxyConfiguration> proxyConfigurations, NettySslContextFactory nettySslContextFactory)
public void processAction(HttpRequest request, ResponseWriter responseWriter, io.netty.channel.ChannelHandlerContext ctx, Set<String> localAddresses, boolean proxyingRequest, boolean synchronous)
public NettyHttpClient getHttpClient()
public static InetSocketAddress getRemoteAddress(io.netty.channel.ChannelHandlerContext ctx)
Copyright © 2022. All rights reserved.