Interface HttpDeframerInput

All Superinterfaces:
AutoCloseable, SafeCloseable

@UnstableApi
public interface HttpDeframerInput
extends SafeCloseable
An input of HttpDeframer which is used to read a stream of HttpData.
  • Method Summary

    Modifier and Type Method Description
    int readableBytes()
    Returns the number of readable bytes.
    byte readByte()
    Reads a byte from the readable bytes.
    ByteBuf readBytes​(int length)
    Reads a newly retained slice of this ByteBuf from the readable bytes.
    int readInt()
    Reads a 32-bit integer from the readable bytes.
    default short readUnsignedByte()
    Reads an unsigned byte from the readable bytes.

    Methods inherited from interface com.linecorp.armeria.common.util.SafeCloseable

    close
  • Method Details