RtspEncoder
instead.@ChannelHandler.Sharable @Deprecated public abstract class RtspObjectEncoder<H extends HttpMessage> extends HttpObjectEncoder<H>
FullHttpMessage
into
a ByteBuf
.ChannelHandler.Sharable
Modifier | Constructor and Description |
---|---|
protected |
RtspObjectEncoder()
Deprecated.
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptOutboundMessage(Object msg)
Deprecated.
Returns
true if the given message should be handled. |
encode, encodeAscii, encodeHeaders, encodeInitialLine, isContentAlwaysEmpty, sanitizeHeadersBeforeEncode, write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exceptionCaught, handlerAdded, handlerRemoved
protected RtspObjectEncoder()
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
ChannelOutboundHandler
in the ChannelPipeline
.acceptOutboundMessage
in class HttpObjectEncoder<H extends HttpMessage>
Exception
Copyright © 2008–2024 The Netty Project. All rights reserved.