to top
Android APIs
Added in API level 1
public interface

SessionInputBuffer

org.apache.http.io.SessionInputBuffer
Known Indirect Subclasses

Class Overview

Session input buffer for blocking connections.

Summary

Public Methods
abstract HttpTransportMetrics getMetrics()
abstract boolean isDataAvailable(int timeout)
abstract int read(byte[] b)
abstract int read()
abstract int read(byte[] b, int off, int len)
abstract int readLine( CharArrayBuffer buffer)
abstract String readLine()

Public Methods

public abstract HttpTransportMetrics getMetrics ()

Added in API level 1

public abstract boolean isDataAvailable (int timeout)

Added in API level 1

Throws
IOException

public abstract int read (byte[] b)

Added in API level 1

Throws
IOException

public abstract int read ()

Added in API level 1

Throws
IOException

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

Added in API level 1

Throws
IOException

public abstract int readLine (CharArrayBuffer buffer)

Added in API level 1

Throws
IOException

public abstract String readLine ()

Added in API level 1

Throws
IOException
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.