Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

LoggingSessionInputBuffer

extends Object
implements SessionInputBuffer
java.lang.Object
   ↳ org.apache.http.impl.conn.LoggingSessionInputBuffer

Class Overview

Logs all data read to the wire LOG.

Summary

Public Constructors
LoggingSessionInputBuffer ( SessionInputBuffer in, Wire wire)
Create an instance that wraps the specified session input buffer.
Public Methods
HttpTransportMetrics getMetrics ()
boolean isDataAvailable (int timeout)
int read (byte[] b)
int read ()
int read (byte[] b, int off, int len)
int readLine ( CharArrayBuffer buffer)
String readLine ()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.io.SessionInputBuffer

Public Constructors

public LoggingSessionInputBuffer ( SessionInputBuffer in, Wire wire)

Added in API level 1

Create an instance that wraps the specified session input buffer.

Parameters
in The session input buffer.
wire The wire log to use.

Public Methods

public HttpTransportMetrics getMetrics ()

Added in API level 1

public boolean isDataAvailable (int timeout)

Added in API level 1

public int read (byte[] b)

Added in API level 1

public int read ()

Added in API level 1

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

Added in API level 1

public int readLine ( CharArrayBuffer buffer)

Added in API level 1

public String readLine ()

Added in API level 1