InternalInputBuffer.InputStreamInputBuffer (Apache Tomcat 7.0.96 API Documentation)

org.apache.coyote.http11

## Class InternalInputBuffer.InputStreamInputBuffer

- java.lang.Object
- - org.apache.coyote.http11.InternalInputBuffer.InputStreamInputBuffer

- All Implemented Interfaces:
    InputBuffer
  Enclosing class:
    InternalInputBuffer

      protected class InternalInputBuffer.InputStreamInputBuffer
      extends java.lang.Object
      implements InputBuffer

  This class is an input buffer which will read its data from an input stream.

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `InternalInputBuffer.InputStreamInputBuffer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `doRead(ByteChunk chunk, Request req)` Read bytes into the specified chunk.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### InternalInputBuffer.InputStreamInputBuffer

          protected InternalInputBuffer.InputStreamInputBuffer()

  - ### Method Detail

    - #### doRead

          public int doRead(ByteChunk chunk,
                   Request req)
                     throws java.io.IOException

      Read bytes into the specified chunk.
      Specified by:
        `doRead` in interface `InputBuffer`
      Throws:
        `java.io.IOException`

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.