|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
org.apache.http.impl.io.IdentityOutputStream
public class IdentityOutputStream
A stream for writing with an "identity" transport encoding.
| Constructor Summary | |
|---|---|
IdentityOutputStream(SessionOutputBuffer out)
|
|
| Method Summary | |
|---|---|
void |
close()
Does not close the underlying socket output. |
void |
flush()
Flush this OutputStream. |
void |
write(byte[] b)
Writes the entire contents of the byte array buffer to
this OutputStream. |
void |
write(byte[] b,
int off,
int len)
Writes count bytes from the byte array
buffer starting at offset to this
OutputStream. |
void |
write(int b)
Writes the specified byte oneByte to this OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdentityOutputStream(SessionOutputBuffer out)
| Method Detail |
|---|
public void close()
throws IOException
Does not close the underlying socket output.
close in interface Closeableclose in class OutputStreamIOException - If an I/O problem occurs.
public void flush()
throws IOException
OutputStream
flush in interface Flushableflush in class OutputStreamIOException - If an error occurs attempting to flush this OutputStream.
public void write(byte[] b,
int off,
int len)
throws IOException
OutputStreamcount bytes from the byte array
buffer starting at offset to this
OutputStream.
write in class OutputStreamb - the buffer to be writtenoff - offset in buffer to get byteslen - number of bytes in buffer to write
IOException - If an error occurs attempting to write to this OutputStream.
public void write(byte[] b)
throws IOException
OutputStreambuffer to
this OutputStream.
write in class OutputStreamb - the buffer to be written
IOException - If an error occurs attempting to write to this OutputStream.
public void write(int b)
throws IOException
OutputStreamoneByte to this OutputStream.
Only the low order byte of oneByte is written.
write in class OutputStreamb - the byte to be written
IOException - If an error occurs attempting to write to this OutputStream.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||