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

Public Methods

public void flush ()

Throws
IOException

public HttpTransportMetrics getMetrics ()

public void write (byte[] b)

Throws
IOException

public void write (int b)

Throws
IOException

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

Throws
IOException

public void writeLine (CharArrayBuffer s)

Throws
IOException

public void writeLine (String s)

Throws
IOException

Protected Methods

protected void flushBuffer ()

Throws
IOException

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