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 ()

Since: API Level 1

Public Methods

public HttpTransportMetrics getMetrics ()

Since: API Level 1

public int read (byte[] b)

Since: API Level 1

Throws
IOException

public int read ()

Since: API Level 1

Throws
IOException

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

Since: API Level 1

Throws
IOException

public int readLine (CharArrayBuffer charbuffer)

Since: API Level 1

Throws
IOException

public String readLine ()

Since: API Level 1

Throws
IOException

Protected Methods

protected int fillBuffer ()

Since: API Level 1

Throws
IOException

protected boolean hasBufferedData ()

Since: API Level 1

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

Since: API Level 1