public final class HttpProtocol extends Protocol
channelManager, config, hasIOExceptionFilters, logger, REDIRECT_STATUSES, requestSender
Constructor and Description |
---|
HttpProtocol(ChannelManager channelManager,
AsyncHttpClientConfig config,
NettyRequestSender requestSender) |
Modifier and Type | Method and Description |
---|---|
void |
handle(io.netty.channel.Channel channel,
NettyResponseFuture<?> future,
Object e) |
void |
onClose(NettyResponseFuture<?> future) |
void |
onError(NettyResponseFuture<?> future,
Throwable error) |
exitAfterHandlingRedirect, exitAfterProcessingFilters
public HttpProtocol(ChannelManager channelManager, AsyncHttpClientConfig config, NettyRequestSender requestSender)
public void handle(io.netty.channel.Channel channel, NettyResponseFuture<?> future, Object e) throws Exception
public void onError(NettyResponseFuture<?> future, Throwable error)
public void onClose(NettyResponseFuture<?> future)
Copyright © 2015. All Rights Reserved.