Top Description Constructors Methods
io.netty.handler.codec.rtsp

public abstract Class RtspObjectEncoder<H extends HttpMessage>

extends HttpObjectEncoder<H extends HttpMessage>
Class Inheritance
Annotations
@Sharable
@Deprecated
Imports
io.netty.buffer.ByteBuf, io.netty.channel.ChannelHandler.Sharable, io.netty.handler.codec.http.FullHttpMessage, .HttpMessage, .HttpObjectEncoder

Deprecated

Use RtspEncoder instead.

Encodes an RTSP message represented in FullHttpMessage into a ByteBuf.

Constructor Summary

AccessConstructor and Description
protected
RtspObjectEncoder()

Creates a new instance.

Method Summary

Modifier and TypeMethod and Description
public boolean
acceptOutboundMessage(Object msg)

Overrides io.netty.handler.codec.http.HttpObjectEncoder.acceptOutboundMessage.

Returns true if the given message should be handled.
Inherited from io.netty.handler.codec.http.HttpObjectEncoder:
encodeencodeAsciiencodeHeadersencodeInitialLineisContentAlwaysEmptysanitizeHeadersBeforeEncodewrite

Constructor Detail

RtspObjectEncoderback to summary
protected RtspObjectEncoder()

Creates a new instance.

Method Detail

acceptOutboundMessageback to summary
public boolean acceptOutboundMessage(Object msg) throws Exception

Overrides io.netty.handler.codec.http.HttpObjectEncoder.acceptOutboundMessage.

Doc from io.netty.handler.codec.MessageToMessageEncoder.acceptOutboundMessage.

Returns true if the given message should be handled. If false it will be passed to the next ChannelOutboundHandler in the ChannelPipeline.

Annotations
@Override