Skip to content

Most visited

Recently visited

navigation

AbstractSessionInputBuffer | Android Developers

to top
Android APIs
public abstract class

AbstractSessionInputBuffer

extends Object
implements SessionInputBuffer
java.lang.Object
   ↳ org.apache.http.impl.io.AbstractSessionInputBuffer
Known Direct Subclasses

Class Overview

Abstract base class for session input buffers that stream data from a InputStream.

Summary

Public Constructors
AbstractSessionInputBuffer()
Public Methods
HttpTransportMetrics getMetrics()
int read(byte[] b)
int read()
int read(byte[] b, int off, int len)
int readLine(CharArrayBuffer charbuffer)
String readLine()
Protected Methods
int fillBuffer()
boolean hasBufferedData()
void init(InputStream instream, int buffersize, HttpParams params)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.io.SessionInputBuffer

Public Constructors

public AbstractSessionInputBuffer ()

Added in API level 1

Public Methods

public HttpTransportMetrics getMetrics ()

Added in API level 1

public int read (byte[] b)

Added in API level 1

Throws
IOException

public int read ()

Added in API level 1

Throws
IOException

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

Added in API level 1

Throws
IOException

public int readLine (CharArrayBuffer charbuffer)

Added in API level 1

Throws
IOException

public String readLine ()

Added in API level 1

Throws
IOException

Protected Methods

protected int fillBuffer ()

Added in API level 1

Throws
IOException

protected boolean hasBufferedData ()

Added in API level 1

protected void init (InputStream instream, int buffersize, HttpParams params)

Added in API level 1

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.