Package io.netty.handler.codec.rtsp
Class RtspEncoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelOutboundHandlerAdapter
-
- io.netty.handler.codec.MessageToMessageEncoder<Object>
-
- io.netty.handler.codec.http.HttpObjectEncoder<HttpMessage>
-
- io.netty.handler.codec.rtsp.RtspEncoder
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelOutboundHandler
- Direct Known Subclasses:
RtspRequestEncoder
,RtspResponseEncoder
public class RtspEncoder extends HttpObjectEncoder<HttpMessage>
-
-
Constructor Summary
Constructors Constructor Description RtspEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptOutboundMessage(Object msg)
protected void
encodeInitialLine(io.netty.buffer.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
-
-
-
-
Method Detail
-
acceptOutboundMessage
public boolean acceptOutboundMessage(Object msg) throws Exception
- Overrides:
acceptOutboundMessage
in classHttpObjectEncoder<HttpMessage>
- Throws:
Exception
-
encodeInitialLine
protected void encodeInitialLine(io.netty.buffer.ByteBuf buf, HttpMessage message) throws Exception
- Specified by:
encodeInitialLine
in classHttpObjectEncoder<HttpMessage>
- Throws:
Exception
-
-