Class RtspEncoder
java.lang.Object
- All Implemented Interfaces:
ChannelHandler, ChannelOutboundHandler
- Direct Known Subclasses:
RtspRequestEncoder, RtspResponseEncoder
-
Nested Class Summary
Nested classes/interfaces inherited from interface ChannelHandler
ChannelHandler.Sharable -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptOutboundMessage(java.lang.Object msg) Returnstrueif the given message should be handled.protected voidencodeInitialLine(ByteBuf buf, HttpMessage message) Methods inherited from class HttpObjectEncoder
encode, encodeAscii, encodeHeaders, isContentAlwaysEmpty, sanitizeHeadersBeforeEncode, writeMethods inherited from class ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, readMethods inherited from class ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ChannelHandler
exceptionCaught, handlerAdded, handlerRemoved
-
Field Details
-
CRLF_SHORT
private static final int CRLF_SHORT- See Also:
-
-
Constructor Details
-
RtspEncoder
public RtspEncoder()
-
-
Method Details
-
acceptOutboundMessage
public boolean acceptOutboundMessage(java.lang.Object msg) throws java.lang.Exception Description copied from class:MessageToMessageEncoderReturnstrueif the given message should be handled. Iffalseit will be passed to the nextChannelOutboundHandlerin theChannelPipeline.- Overrides:
acceptOutboundMessagein classHttpObjectEncoder<HttpMessage>- Throws:
java.lang.Exception
-
encodeInitialLine
- Specified by:
encodeInitialLinein classHttpObjectEncoder<HttpMessage>- Throws:
java.lang.Exception
-