Class BasicHttpServerCodec.Encoder
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelOutboundHandlerAdapter
io.netty.handler.codec.MessageToMessageEncoder<Object>
io.netty.handler.codec.http.HttpObjectEncoder<io.netty.handler.codec.http.HttpResponse>
io.netty.handler.codec.http.HttpResponseEncoder
com.linkedin.alpini.netty4.handlers.BasicHttpServerCodec.Encoder
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelOutboundHandler
- Enclosing class:
- BasicHttpServerCodec
protected class BasicHttpServerCodec.Encoder
extends io.netty.handler.codec.http.HttpResponseEncoder
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidencodeInitialLine(io.netty.buffer.ByteBuf buf, io.netty.handler.codec.http.HttpResponse msg) protected booleanisContentAlwaysEmpty(io.netty.handler.codec.http.HttpResponse msg) Methods inherited from class io.netty.handler.codec.http.HttpResponseEncoder
acceptOutboundMessage, sanitizeHeadersBeforeEncodeMethods inherited from class io.netty.handler.codec.http.HttpObjectEncoder
encode, encodeAscii, encodeHeadersMethods inherited from class io.netty.handler.codec.MessageToMessageEncoder
writeMethods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, readMethods inherited from class io.netty.channel.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 io.netty.channel.ChannelHandler
exceptionCaught, handlerAdded, handlerRemoved
-
Constructor Details
-
Encoder
protected Encoder()
-
-
Method Details
-
encodeInitialLine
protected void encodeInitialLine(io.netty.buffer.ByteBuf buf, io.netty.handler.codec.http.HttpResponse msg) throws Exception - Overrides:
encodeInitialLinein classio.netty.handler.codec.http.HttpResponseEncoder- Throws:
Exception
-
isContentAlwaysEmpty
protected boolean isContentAlwaysEmpty(io.netty.handler.codec.http.HttpResponse msg) - Overrides:
isContentAlwaysEmptyin classio.netty.handler.codec.http.HttpResponseEncoder
-