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