Class ChunkedInputStream

java.lang.Object
java.io.InputStream
net.targetr.wtm3.io.ChunkedInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class ChunkedInputStream extends InputStream
Reads a chunked input stream.

Used by HTTP/1.1 to transfer content of unknown length.

Author:
Dr Michael Gardiner
  • Constructor Details

    • ChunkedInputStream

      public ChunkedInputStream(InputStream in)
      Decorates an input stream to enable reading in chunks specified by a HTTP/1.1 server.
      Parameters:
      in - The chunked input stream.
  • Method Details