Top Description Fields Constructors Methods
io.netty5.handler.codec.rtsp

public Class RtspEncoder

extends HttpObjectEncoder<HttpMessage>
Class Inheritance
Imports
io.netty5.buffer.Buffer, io.netty5.handler.codec.UnsupportedMessageTypeException, io.netty5.handler.codec.http.HttpContent, .HttpMessage, .HttpObjectEncoder, .HttpRequest, .HttpResponse, io.netty5.util.internal.StringUtil

Encodes an RTSP message represented in HttpMessage or an HttpContent into a Buffer.

Field Summary

Modifier and TypeField and Description
private static final short

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

Returns true if the given message should be handled.
protected void
Inherited from io.netty5.handler.codec.http.HttpObjectEncoder:
crlfBufferencodeAndCloseencodeHeadersisContentAlwaysEmptysanitizeHeadersBeforeEncodezeroCrlfCrlfBuffer

Field Detail

CRLF_SHORTback to summary
private static final short CRLF_SHORT

Hides io.netty5.handler.codec.http.HttpObjectEncoder.CRLF_SHORT.

Constructor Detail

RtspEncoderback to summary
public RtspEncoder()

Method Detail

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

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

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

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

Annotations
@Override
encodeInitialLineback to summary
protected void encodeInitialLine(final Buffer buf, final HttpMessage message) throws Exception

Implements abstract io.netty5.handler.codec.http.HttpObjectEncoder.encodeInitialLine.

Annotations
@Override