Class Http2OrHttpHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
com.netflix.zuul.netty.server.http2.Http2OrHttpHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
public class Http2OrHttpHandler
extends io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
Http2 Or Http Handler
Author: Arthur Gonigberg
Date: December 15, 2017
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHttp2OrHttpHandler
(io.netty.channel.ChannelHandler http2StreamHandler, ChannelConfig channelConfig, Consumer<io.netty.channel.ChannelPipeline> addHttpHandlerFn) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
configurePipeline
(io.netty.channel.ChannelHandlerContext ctx, String protocol) Methods inherited from class io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
channelInactive, channelRead, exceptionCaught, handlerAdded, handlerRemoved, handshakeFailure, userEventTriggered
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Field Details
-
PROTOCOL_NAME
-
-
Constructor Details
-
Http2OrHttpHandler
public Http2OrHttpHandler(io.netty.channel.ChannelHandler http2StreamHandler, ChannelConfig channelConfig, Consumer<io.netty.channel.ChannelPipeline> addHttpHandlerFn)
-
-
Method Details