Skip to content

Most visited

Recently visited

navigation

LoggingSessionOutputBuffer | Android Developers

to top
Android APIs
public class

LoggingSessionOutputBuffer

extends Object
implements SessionOutputBuffer
java.lang.Object
   ↳ org.apache.http.impl.conn.LoggingSessionOutputBuffer

Class Overview

Logs all data written to the wire LOG.

Summary

Public Constructors
LoggingSessionOutputBuffer(SessionOutputBuffer out, Wire wire)
Create an instance that wraps the specified session output buffer.
Public Methods
void flush()
HttpTransportMetrics getMetrics()
void write(byte[] b, int off, int len)
void write(byte[] b)
void write(int b)
void writeLine(CharArrayBuffer buffer)
void writeLine(String s)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.io.SessionOutputBuffer

Public Constructors

public LoggingSessionOutputBuffer (SessionOutputBuffer out, Wire wire)

Added in API level 1

Create an instance that wraps the specified session output buffer.

Parameters
out The session output buffer.
wire The Wire log to use.

Public Methods

public void flush ()

Added in API level 1

Throws
IOException

public HttpTransportMetrics getMetrics ()

Added in API level 1

public void write (byte[] b, int off, int len)

Added in API level 1

Throws
IOException

public void write (byte[] b)

Added in API level 1

Throws
IOException

public void write (int b)

Added in API level 1

Throws
IOException

public void writeLine (CharArrayBuffer buffer)

Added in API level 1

Throws
IOException

public void writeLine (String s)

Added in API level 1

Throws
IOException
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.