public class RtspEncoder extends HttpObjectEncoder<HttpMessage>
ChannelHandler.Sharable
构造器和说明 |
---|
RtspEncoder() |
限定符和类型 | 方法和说明 |
---|---|
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, isContentAlwaysEmpty, sanitizeHeadersBeforeEncode
write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exceptionCaught, handlerAdded, handlerRemoved
public boolean acceptOutboundMessage(java.lang.Object msg) throws java.lang.Exception
MessageToMessageEncoder
true
if the given message should be handled. If false
it will be passed to the next
ChannelOutboundHandler
in the ChannelPipeline
.acceptOutboundMessage
在类中 HttpObjectEncoder<HttpMessage>
java.lang.Exception
protected void encodeInitialLine(ByteBuf buf, HttpMessage message) throws java.lang.Exception
encodeInitialLine
在类中 HttpObjectEncoder<HttpMessage>
java.lang.Exception