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 off, int len)
int read(byte[] b)
int read()
String readLine()
int readLine(CharArrayBuffer buffer)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.io.SessionInputBuffer

Public Constructors

public LoggingSessionInputBuffer (SessionInputBuffer in, Wire wire)

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

public boolean isDataAvailable (int timeout)

Throws
IOException

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

Throws
IOException