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)
void write(int b)
void write(byte[] b, int off, int len)
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 ()

Since: API Level 1

Public Methods

public void flush ()

Since: API Level 1

Throws
IOException

public HttpTransportMetrics getMetrics ()

Since: API Level 1

public void write (byte[] b)

Since: API Level 1

Throws
IOException

public void write (int b)

Since: API Level 1

Throws
IOException

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

Since: API Level 1

Throws
IOException

public void writeLine (CharArrayBuffer s)

Since: API Level 1

Throws
IOException

public void writeLine (String s)

Since: API Level 1

Throws
IOException

Protected Methods

protected void flushBuffer ()

Since: API Level 1

Throws
IOException

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

Since: API Level 1