Class RtspObjectEncoder<H extends HttpMessage>
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelOutboundHandlerAdapter
io.netty.handler.codec.MessageToMessageEncoder<java.lang.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 ChannelHandler
ChannelHandler.Sharable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptOutboundMessage(java.lang.Object msg) Deprecated.Returnstrueif the given message should be handled.Methods inherited from class HttpObjectEncoder
encode, encodeAscii, encodeHeaders, encodeInitialLine, isContentAlwaysEmpty, sanitizeHeadersBeforeEncode, writeMethods inherited from class ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, readMethods inherited from class ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ChannelHandler
exceptionCaught, handlerAdded, handlerRemoved
-
Constructor Details
-
RtspObjectEncoder
protected RtspObjectEncoder()Deprecated.Creates a new instance.
-
-
Method Details
-
acceptOutboundMessage
public boolean acceptOutboundMessage(java.lang.Object msg) throws java.lang.Exception Deprecated.Description copied from class:MessageToMessageEncoderReturnstrueif the given message should be handled. Iffalseit will be passed to the nextChannelOutboundHandlerin theChannelPipeline.- Overrides:
acceptOutboundMessagein classHttpObjectEncoder<H extends HttpMessage>- Throws:
java.lang.Exception
-
RtspEncoderinstead.