java类io.netty.channel.ChannelInboundHandler的实例源码

SpdyOrHttpChooser.java 文件源码 项目:netty4study 阅读 59 收藏 0 点赞 0 评论 0
/**
 * Create the {@link ChannelInboundHandler} that is responsible for handling the http responses
 * when the {@link SelectedProtocol} was {@link SelectedProtocol#SPDY_3} or
 * {@link SelectedProtocol#SPDY_3_1}.
 *
 * By default this getMethod will just delecate to {@link #createHttpRequestHandlerForHttp()}, but
 * sub-classes may override this to change the behaviour.
 */
protected ChannelInboundHandler createHttpRequestHandlerForSpdy() {
    return createHttpRequestHandlerForHttp();
}
ChannelHandlerFactory.java 文件源码 项目:remote-netty 阅读 21 收藏 0 点赞 0 评论 0
/**
 * 创建新业务句柄实例
 * @return
 */
public ChannelInboundHandler newInstance();
ChannelHandlerFactory.java 文件源码 项目:remote-netty 阅读 21 收藏 0 点赞 0 评论 0
/**
 * 创建解码器句柄
 * <pre>
 * 继承 {@link ByteToMessageDecoder} 的解码器不允许共享,所以在 {@link ChannelPipeline} 初始化时不是单例模式。
 * </pre>
 * @return
 */
public ChannelInboundHandler newDecoder();
XioRoutingFilterFactory.java 文件源码 项目:xio 阅读 22 收藏 0 点赞 0 评论 0
ChannelInboundHandler getRoutingFilter();


问题


面经


文章

微信
公众号

扫码关注公众号