public class ThriftServerInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
| Constructor and Description |
|---|
ThriftServerInitializer(ServerMethodInvoker methodInvoker,
io.airlift.units.DataSize maxFrameSize,
io.airlift.units.Duration requestTimeout,
Optional<Supplier<io.netty.handler.ssl.SslContext>> sslContextSupplier,
boolean allowPlainText,
boolean assumeClientsSupportOutOfOrderResponses,
ScheduledExecutorService timeoutExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initChannel(io.netty.channel.socket.SocketChannel channel) |
channelRegistered, exceptionCaught, handlerAddedchannelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerRemoved, isSharablepublic ThriftServerInitializer(ServerMethodInvoker methodInvoker, io.airlift.units.DataSize maxFrameSize, io.airlift.units.Duration requestTimeout, Optional<Supplier<io.netty.handler.ssl.SslContext>> sslContextSupplier, boolean allowPlainText, boolean assumeClientsSupportOutOfOrderResponses, ScheduledExecutorService timeoutExecutor)
Copyright © 2012–2018. All rights reserved.