Package io.netty.handler.codec.rtsp
Class RtspObjectEncoder<H extends HttpMessage>
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelOutboundHandlerAdapter
io.netty.handler.codec.MessageToMessageEncoder<Object>
io.netty.handler.codec.http.HttpObjectEncoder<H>
io.netty.handler.codec.rtsp.RtspObjectEncoder<H>
- All Implemented Interfaces:
ChannelHandler
,ChannelOutboundHandler
@Sharable
@Deprecated
public abstract class RtspObjectEncoder<H extends HttpMessage>
extends HttpObjectEncoder<H>
Deprecated.
Encodes an RTSP message represented in
FullHttpMessage
into
a ByteBuf
.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Returnstrue
if the given message should be handled.Methods inherited from class io.netty.handler.codec.http.HttpObjectEncoder
encode, encodeAscii, encodeHeaders, encodeInitialLine, isContentAlwaysEmpty, sanitizeHeadersBeforeEncode, write
Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, read
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.channel.ChannelHandler
exceptionCaught, handlerAdded, handlerRemoved
-
Constructor Details
-
RtspObjectEncoder
protected RtspObjectEncoder()Deprecated.Creates a new instance.
-
-
Method Details
-
acceptOutboundMessage
Deprecated.Description copied from class:MessageToMessageEncoder
Returnstrue
if the given message should be handled. Iffalse
it will be passed to the nextChannelOutboundHandler
in theChannelPipeline
.- Overrides:
acceptOutboundMessage
in classHttpObjectEncoder<H extends HttpMessage>
- Throws:
Exception
-
RtspEncoder
instead.