Class 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 
      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.handler.codec.MessageToMessageEncoder

        write
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.netty.channel.ChannelHandler

        exceptionCaught, handlerAdded, handlerRemoved
    • Constructor Detail

      • Encoder

        protected Encoder()
    • 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 class io.netty.handler.codec.http.HttpResponseEncoder
        Throws:
        java.lang.Exception
      • isContentAlwaysEmpty

        protected boolean isContentAlwaysEmpty​(io.netty.handler.codec.http.HttpResponse msg)
        Overrides:
        isContentAlwaysEmpty in class io.netty.handler.codec.http.HttpResponseEncoder