public class NettyPortUnificationServerHandler
extends io.netty.handler.codec.ByteToMessageDecoder
| Constructor and Description |
|---|
NettyPortUnificationServerHandler(org.apache.dubbo.common.URL url,
boolean detectSsl,
List<WireProtocol> protocols,
ChannelHandler handler,
Map<String,org.apache.dubbo.common.URL> urlMapper,
Map<String,ChannelHandler> handlerMapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt) |
channelInactive, channelRead, channelReadComplete, handlerRemoved, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecodechannelActive, channelRegistered, channelUnregistered, channelWritabilityChangedpublic NettyPortUnificationServerHandler(org.apache.dubbo.common.URL url,
boolean detectSsl,
List<WireProtocol> protocols,
ChannelHandler handler,
Map<String,org.apache.dubbo.common.URL> urlMapper,
Map<String,ChannelHandler> handlerMapper)
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt)
throws Exception
userEventTriggered in interface io.netty.channel.ChannelInboundHandleruserEventTriggered in class io.netty.handler.codec.ByteToMessageDecoderExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.