Class BasicHttpServerCodec.Encoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelOutboundHandlerAdapter
-
- io.netty.handler.codec.MessageToMessageEncoder<java.lang.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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Encoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
encodeInitialLine(io.netty.buffer.ByteBuf buf, io.netty.handler.codec.http.HttpResponse msg)
protected boolean
isContentAlwaysEmpty(io.netty.handler.codec.http.HttpResponse msg)
-
Methods inherited from class io.netty.handler.codec.http.HttpResponseEncoder
acceptOutboundMessage, sanitizeHeadersBeforeEncode
-
Methods inherited from class io.netty.handler.codec.http.HttpObjectEncoder
encode, encodeAscii, encodeHeaders
-
Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, read
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Method Detail
-
encodeInitialLine
protected void encodeInitialLine(io.netty.buffer.ByteBuf buf, io.netty.handler.codec.http.HttpResponse msg) throws java.lang.Exception
- Overrides:
encodeInitialLine
in classio.netty.handler.codec.http.HttpResponseEncoder
- Throws:
java.lang.Exception
-
isContentAlwaysEmpty
protected boolean isContentAlwaysEmpty(io.netty.handler.codec.http.HttpResponse msg)
- Overrides:
isContentAlwaysEmpty
in classio.netty.handler.codec.http.HttpResponseEncoder
-
-