org.apache.http.impl.io
Class AbstractSessionOutputBuffer
java.lang.Object
org.apache.http.impl.io.AbstractSessionOutputBuffer
- All Implemented Interfaces:
- SessionOutputBuffer
- Direct Known Subclasses:
- SocketOutputBuffer
public abstract class AbstractSessionOutputBuffer
- extends Object
- implements SessionOutputBuffer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSessionOutputBuffer
public AbstractSessionOutputBuffer()
init
protected void init(OutputStream outstream,
int buffersize,
HttpParams params)
flushBuffer
protected void flushBuffer()
throws IOException
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush in interface SessionOutputBuffer
- Throws:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Specified by:
write in interface SessionOutputBuffer
- Throws:
IOException
write
public void write(byte[] b)
throws IOException
- Specified by:
write in interface SessionOutputBuffer
- Throws:
IOException
write
public void write(int b)
throws IOException
- Specified by:
write in interface SessionOutputBuffer
- Throws:
IOException
writeLine
public void writeLine(String s)
throws IOException
- Specified by:
writeLine in interface SessionOutputBuffer
- Throws:
IOException
writeLine
public void writeLine(CharArrayBuffer s)
throws IOException
- Specified by:
writeLine in interface SessionOutputBuffer
- Throws:
IOException
getMetrics
public HttpTransportMetrics getMetrics()
- Specified by:
getMetrics in interface SessionOutputBuffer
Please submit a feedback, bug or feature