Class EmptyLastHttpContent

    • Constructor Detail

      • EmptyLastHttpContent

        public EmptyLastHttpContent​(io.netty5.buffer.api.BufferAllocator allocator)
    • Method Detail

      • payload

        public io.netty5.buffer.api.Buffer payload()
        Description copied from interface: HttpContent
        Returns the Buffer representing the payload of the HTTP message.
        Specified by:
        payload in interface HttpContent<EmptyLastHttpContent>
        Returns:
        The Buffer representing the payload of the HTTP message.
      • isAccessible

        public boolean isAccessible()
        Specified by:
        isAccessible in interface io.netty5.buffer.api.Resource<EmptyLastHttpContent>
      • decoderResult

        public io.netty5.handler.codec.DecoderResult decoderResult()
        Specified by:
        decoderResult in interface io.netty5.handler.codec.DecoderResultProvider
      • setDecoderResult

        public void setDecoderResult​(io.netty5.handler.codec.DecoderResult result)
        Specified by:
        setDecoderResult in interface io.netty5.handler.codec.DecoderResultProvider
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object