@ChannelHandler.Sharable public abstract class RtspObjectEncoder<H extends HttpMessage> extends HttpObjectEncoder<H>
FullHttpMessage
into
a ByteBuf
.ChannelHandler.Sharable, ChannelHandler.Skip
Modifier | Constructor and Description |
---|---|
protected |
RtspObjectEncoder()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptOutboundMessage(Object msg)
Returns
true if the given message should be handled. |
encode, encodeHeaders, encodeInitialLine
write
bind, channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, exceptionCaught, flush, handlerAdded, handlerRemoved, isSharable, read, userEventTriggered
public boolean acceptOutboundMessage(Object msg) throws Exception
MessageToMessageEncoder
true
if the given message should be handled. If false
it will be passed to the next
ChannelHandler
in the ChannelPipeline
.acceptOutboundMessage
in class HttpObjectEncoder<H extends HttpMessage>
Exception
Copyright © 2008–2015 The Netty Project. All rights reserved.