to top
Android APIs
public abstract class

AbstractSessionOutputBuffer

extends Object
implements SessionOutputBuffer
java.lang.Object
   ↳ org.apache.http.impl.io.AbstractSessionOutputBuffer
Known Direct Subclasses

Class Overview

Abstract base class for session output buffers that stream data to an OutputStream.

Summary

Public Constructors
AbstractSessionOutputBuffer()
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 s)
void writeLine(String s)
Protected Methods
void flushBuffer()
void init(OutputStream outstream, int buffersize, HttpParams params)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.io.SessionOutputBuffer

Public Constructors

public AbstractSessionOutputBuffer ()

Added in API level 1

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

Added in API level 1

Throws
IOException

public void writeLine (String s)

Added in API level 1

Throws
IOException

Protected Methods

protected void flushBuffer ()

Added in API level 1

Throws
IOException

protected void init (OutputStream outstream, int buffersize, HttpParams params)

Added in API level 1