Class PushChannelInitializer
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
com.netflix.zuul.netty.server.BaseZuulChannelInitializer
com.netflix.zuul.netty.server.push.PushChannelInitializer
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
Author: Susheel Aroskar
Date: 5/15/18
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Field Summary
Fields inherited from class com.netflix.zuul.netty.server.BaseZuulChannelInitializer
accessLogPublisher, ATTR_CHANNEL_CONFIG, channelConfig, channelDependencies, channels, connectionExpiry, filterLoader, filterUsageNotifier, HTTP_CODEC_HANDLER_NAME, httpMetricsHandler, httpRequestReadTimeout, httpRequestReadTimeoutCounter, idleTimeout, MAX_CHUNK_SIZE, MAX_HEADER_SIZE, MAX_INITIAL_LINE_LENGTH, maxConnections, maxConnectionsHandler, maxRequestsPerConnection, maxRequestsPerConnectionInBrownout, metricId, nettyLogger, passportLoggingHandler, perEventLoopConnectionMetricsHandler, perEventLoopRequestsMetricsHandler, port, rateLimitingChannelHandler, registry, requestCompleteHandler, sessionContextDecorator, sourceAddressChannelHandler, sslClientCertCheckChannelHandler, stripInboundProxyHeadersHandler, withProxyProtocol
-
Constructor Summary
ConstructorsModifierConstructorDescriptionPushChannelInitializer
(int port, ChannelConfig channelConfig, ChannelConfig channelDependencies, io.netty.channel.group.ChannelGroup channels) Deprecated.protected
PushChannelInitializer
(String metricId, ChannelConfig channelConfig, ChannelConfig channelDependencies, io.netty.channel.group.ChannelGroup channels) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addHttp1Handlers
(io.netty.channel.ChannelPipeline pipeline) protected void
addHttpRelatedHandlers
(io.netty.channel.ChannelPipeline pipeline) protected abstract void
addPushHandlers
(io.netty.channel.ChannelPipeline pipeline) protected void
initChannel
(io.netty.channel.Channel ch) Methods inherited from class com.netflix.zuul.netty.server.BaseZuulChannelInitializer
addPassportHandler, addSslClientCertChecks, addSslInfoHandlers, addTcpRelatedHandlers, addTimeoutHandlers, addZuulFilterChainHandler, addZuulHandlers, createHttpServerCodec, getEndpointRunner, getFilterChainRunner, getFilterChainRunner, getFilters, storeChannel
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Constructor Details
-
PushChannelInitializer
@Deprecated public PushChannelInitializer(int port, ChannelConfig channelConfig, ChannelConfig channelDependencies, io.netty.channel.group.ChannelGroup channels) Deprecated. -
PushChannelInitializer
protected PushChannelInitializer(String metricId, ChannelConfig channelConfig, ChannelConfig channelDependencies, io.netty.channel.group.ChannelGroup channels)
-
-
Method Details
-
addHttp1Handlers
protected void addHttp1Handlers(io.netty.channel.ChannelPipeline pipeline) - Overrides:
addHttp1Handlers
in classBaseZuulChannelInitializer
-
addHttpRelatedHandlers
protected void addHttpRelatedHandlers(io.netty.channel.ChannelPipeline pipeline) - Overrides:
addHttpRelatedHandlers
in classBaseZuulChannelInitializer
-
initChannel
- Specified by:
initChannel
in classio.netty.channel.ChannelInitializer<io.netty.channel.Channel>
- Throws:
Exception
-
addPushHandlers
protected abstract void addPushHandlers(io.netty.channel.ChannelPipeline pipeline)
-