RtspEncoder 。
@ChannelHandler.Sharable @Deprecated public abstract class RtspObjectEncoder<H extends HttpMessage> extends HttpObjectEncoder<H>
FullHttpMessage中表示的RTSP消息编码为ByteBuf 。
ChannelHandler.Sharable| Modifier | Constructor and Description |
|---|---|
protected |
RtspObjectEncoder()
已过时。
创建一个新的实例。
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptOutboundMessage(java.lang.Object msg)
已过时。
如果应该处理给定的消息,则返回
true 。
|
encode, encodeAscii, encodeHeaders, encodeInitialLine, isContentAlwaysEmpty, sanitizeHeadersBeforeEncodewritebind, 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
MessageToMessageEncoder
true 。
如果false它将被传递到ChannelPipeline中的下一个ChannelOutboundHandler 。
acceptOutboundMessage
HttpObjectEncoder<H extends HttpMessage>
java.lang.Exception
Copyright © 2008–2018 The Netty Project. All rights reserved.