|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
org.norther.tammi.spray.remote.chain.HttpRMIOutputStream
public class HttpRMIOutputStream
An output stream for remote HTTP clients.
| Constructor Summary | |
|---|---|
HttpRMIOutputStream(HttpRMIClient rc)
Constructs a new remote output stream. |
|
HttpRMIOutputStream(HttpRMIClient rc,
int cap)
Constructs a new remote output stream with a specified capacity. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the stream. |
void |
flush()
Flushes the buffer. |
void |
write(byte[] b)
Writes bytes. |
void |
write(byte[] b,
int off,
int len)
Writes specific bytes. |
void |
write(int i)
Writes a specific byte. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpRMIOutputStream(HttpRMIClient rc)
rc - a remote client.
public HttpRMIOutputStream(HttpRMIClient rc,
int cap)
rc - a remote client.cap - a capacity.| Method Detail |
|---|
public void close()
throws IOException
close in interface Closeableclose in class OutputStreamIOException - on errors.
public void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOException - on errors.
public void write(byte[] b)
throws IOException
write in class OutputStreamb - an arrays of bytes.
IOException - on error.
public void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamb - an arrays of bytes.off - an offset.len - length.
IOException - on errors.
public void write(int i)
throws IOException
write in class OutputStreami - a byte.
IOException - on errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||