public class

ContentInputStream

extends InputStream
java.lang.Object
   ↳ java.io.InputStream
     ↳ org.apache.http.nio.entity.ContentInputStream

Class Overview

InputStream adaptor for ContentInputBuffer.

Summary

Public Constructors
ContentInputStream(ContentInputBuffer buffer)
Public Methods
int available()
void close()
int read(byte[] b)
int read()
int read(byte[] b, int off, int len)
[Expand]
Inherited Methods
From class java.io.InputStream
From class java.lang.Object
From interface java.io.Closeable

Public Constructors

public ContentInputStream (ContentInputBuffer buffer)

Public Methods

public int available ()

Throws
IOException

public void close ()

Throws
IOException

public int read (byte[] b)

Throws
IOException

public int read ()

Throws
IOException

public int read (byte[] b, int off, int len)

Throws
IOException