public class RtspEncoder extends HttpObjectEncoder<HttpMessage>
ChannelHandler.Sharable| Modifier and Type | Field and Description |
|---|---|
private static byte[] |
CRLF
Constant for CRLF.
|
| Constructor and Description |
|---|
RtspEncoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptOutboundMessage(java.lang.Object msg)
Returns
true if the given message should be handled. |
protected void |
encodeInitialLine(ByteBuf buf,
HttpMessage message) |
encode, encodeAscii, encodeHeaders, isContentAlwaysEmptywritebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexceptionCaught, handlerAdded, handlerRemovedpublic boolean acceptOutboundMessage(java.lang.Object msg)
throws java.lang.Exception
MessageToMessageEncodertrue if the given message should be handled. If false it will be passed to the next
ChannelOutboundHandler in the ChannelPipeline.acceptOutboundMessage in class HttpObjectEncoder<HttpMessage>java.lang.Exceptionprotected void encodeInitialLine(ByteBuf buf, HttpMessage message) throws java.lang.Exception
encodeInitialLine in class HttpObjectEncoder<HttpMessage>java.lang.Exception