|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.io.AbstractSessionOutputBuffer
org.apache.http.impl.io.SocketOutputBuffer
public class SocketOutputBuffer
SessionOutputBuffer implementation bound to a Socket.
The following parameters can be used to customize the behavior of this class:
| Constructor Summary | |
|---|---|
SocketOutputBuffer(java.net.Socket socket,
int buffersize,
HttpParams params)
Creates an instance of this class. |
|
| Method Summary |
|---|
| Methods inherited from class org.apache.http.impl.io.AbstractSessionOutputBuffer |
|---|
available, capacity, createTransportMetrics, flush, flushBuffer, getMetrics, init, length, write, write, write, writeLine, writeLine |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SocketOutputBuffer(java.net.Socket socket,
int buffersize,
HttpParams params)
throws java.io.IOException
socket - the socket to write data to.buffersize - the size of the internal buffer. If this number is less
than 0 it is set to the value of
Socket.getSendBufferSize(). If resultant number is less
than 1024 it is set to 1024.params - HTTP parameters.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||