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(java.lang.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(java.lang.Object msg) throws java.lang.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>
java.lang.Exception
Copyright © 2008–2018 The Netty Project. All rights reserved.