Package io.netty.handler.codec.rtsp
Class RtspEncoder
- All Implemented Interfaces:
ChannelHandler
,ChannelOutboundHandler
- Direct Known Subclasses:
RtspRequestEncoder
,RtspResponseEncoder
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if the given message should be handled.protected void
encodeInitialLine
(ByteBuf buf, HttpMessage message) Methods inherited from class io.netty.handler.codec.http.HttpObjectEncoder
encode, encodeAscii, encodeHeaders, 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
-
Field Details
-
CRLF_SHORT
private static final int CRLF_SHORT- See Also:
-
-
Constructor Details
-
RtspEncoder
public RtspEncoder()
-
-
Method Details
-
acceptOutboundMessage
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<HttpMessage>
- Throws:
Exception
-
encodeInitialLine
- Specified by:
encodeInitialLine
in classHttpObjectEncoder<HttpMessage>
- Throws:
Exception
-