Bluestep JS Documentation
    Preparing search index...

    Class ServletInputStream

    Provides an input stream for reading binary data from a client request, including an efficient readLine method for reading data one line at a time. With some protocols, such as HTTP POST and PUT, a ServletInputStream object can be used to read data sent from the client.

    See jakarta.servlet.ServletInputStream for full documentation

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking, which may be 0, or 0 when end of stream is detected.

      Returns number

    • Closes this input stream and releases any system resources associated with the stream.

      Returns void

    • Marks the current position in this input stream.

      Parameters

      • readlimit: number

      Returns void

    • Tests if this input stream supports the mark and reset methods.

      Returns boolean

    • Reads the next byte of data from the input stream.

      Returns number

    • Reads some number of bytes from the input stream and stores them into the buffer array b.

      Parameters

      Returns number

    • Reads up to len bytes of data from the input stream into an array of bytes.

      Parameters

      Returns number

    • Reads the requested number of bytes from the input stream into the given byte array.

      Parameters

      Returns number

    • Reads up to a specified number of bytes from the input stream.

      Parameters

      • len: number

      Returns ByteArray

    • Repositions this stream to the position at the time the mark method was last called on this input stream.

      Returns void

    • Skips over and discards n bytes of data from this input stream.

      Parameters

      • n: number

      Returns number

    • Reads all bytes from this input stream and writes the bytes to the given output stream in the order that they are read.

      Parameters

      Returns number