@ChannelHandler.Sharable
public class ConstantTextHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.router.Routed>
Constructor and Description |
---|
ConstantTextHandler(String text) |
Modifier and Type | Method and Description |
---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.router.Routed routed) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
handlerAdded, handlerRemoved, isSharable
public ConstantTextHandler(String text)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.