public class PortUnificationHandler extends io.netty.handler.codec.ReplayingDecoder<Void>
| Modifier and Type | Field and Description | 
|---|---|
protected MockServerLogger | 
mockServerLogger  | 
| Constructor and Description | 
|---|
PortUnificationHandler(LifeCycle server,
                      HttpState httpStateHandler,
                      HttpActionHandler actionHandler,
                      NettySslContextFactory nettySslContextFactory)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
decode(io.netty.channel.ChannelHandlerContext ctx,
      io.netty.buffer.ByteBuf msg,
      List<Object> out)  | 
static void | 
disableSslDownstream(io.netty.channel.Channel channel)  | 
static void | 
enableSslDownstream(io.netty.channel.Channel channel)  | 
static void | 
enableSslUpstreamAndDownstream(io.netty.channel.Channel channel)  | 
void | 
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
               Throwable throwable)  | 
static boolean | 
isSslEnabledDownstream(io.netty.channel.Channel channel)  | 
static boolean | 
isSslEnabledUpstream(io.netty.channel.Channel channel)  | 
static NettySslContextFactory | 
nettySslContextFactory(io.netty.channel.Channel channel)  | 
callDecode, checkpoint, checkpoint, state, stateactualReadableBytes, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChangedensureNotSharable, handlerAdded, isSharableprotected final MockServerLogger mockServerLogger
public PortUnificationHandler(LifeCycle server, HttpState httpStateHandler, HttpActionHandler actionHandler, NettySslContextFactory nettySslContextFactory)
public static NettySslContextFactory nettySslContextFactory(io.netty.channel.Channel channel)
public static void enableSslUpstreamAndDownstream(io.netty.channel.Channel channel)
public static boolean isSslEnabledUpstream(io.netty.channel.Channel channel)
public static void enableSslDownstream(io.netty.channel.Channel channel)
public static void disableSslDownstream(io.netty.channel.Channel channel)
public static boolean isSslEnabledDownstream(io.netty.channel.Channel channel)
protected void decode(io.netty.channel.ChannelHandlerContext ctx,
                      io.netty.buffer.ByteBuf msg,
                      List<Object> out)
decode in class io.netty.handler.codec.ByteToMessageDecoderpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
                            Throwable throwable)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2020. All rights reserved.