Class AbstractContentDecoder

    • Constructor Detail

      • AbstractContentDecoder

        public AbstractContentDecoder​(java.nio.channels.ReadableByteChannel channel,
                                      SessionInputBuffer buffer,
                                      HttpTransportMetricsImpl metrics)
        Creates an instance of this class.
        Parameters:
        channel - the source channel.
        buffer - the session input buffer that can be used to store session data for intermediate processing.
        metrics - Transport metrics of the underlying HTTP transport.
    • Method Detail

      • isCompleted

        public boolean isCompleted()
        Description copied from interface: ContentDecoder
        Returns true if the entity has been received in its entirety.
        Specified by:
        isCompleted in interface ContentDecoder
        Returns:
        true if all the content has been consumed, false otherwise.