public class RtspResponseEncoder extends RtspObjectEncoder<HttpResponse>
FullHttpResponse into
a ByteBuf.ChannelHandler.Sharable, ChannelHandler.Skip| Constructor and Description |
|---|
RtspResponseEncoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptOutboundMessage(Object msg)
Returns
true if the given message should be handled. |
protected void |
encodeInitialLine(ByteBuf buf,
HttpResponse response) |
encode, encodeHeaderswritebind, channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, exceptionCaught, flush, handlerAdded, handlerRemoved, isSharable, read, userEventTriggeredpublic boolean acceptOutboundMessage(Object msg) throws Exception
MessageToMessageEncodertrue if the given message should be handled. If false it will be passed to the next
ChannelHandler in the ChannelPipeline.acceptOutboundMessage in class RtspObjectEncoder<HttpResponse>Exceptionprotected void encodeInitialLine(ByteBuf buf, HttpResponse response) throws Exception
encodeInitialLine in class HttpObjectEncoder<HttpResponse>ExceptionCopyright © 2008–2015 The Netty Project. All rights reserved.