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 off, int len)
int read(byte[] b)
int read()
String readLine()
int readLine(CharArrayBuffer charbuffer)
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 ()

Public Methods

public HttpTransportMetrics getMetrics ()

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

Throws
IOException

public int read (byte[] b)

Throws
IOException

public int read ()

Throws
IOException

public String readLine ()

Throws
IOException

public int readLine (CharArrayBuffer charbuffer)

Throws
IOException

Protected Methods

protected int fillBuffer ()

Throws
IOException

protected boolean hasBufferedData ()

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