|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.remoting.BinarySafeStream
public final class BinarySafeStream
Tunnels byte stream into another byte stream so that binary data can be sent across binary-unsafe stream.
This implementation uses a variation of base64. A care has been taken to ensure that the following scenario is handled correctly.
| Method Summary | |
|---|---|
static java.io.InputStream |
wrap(java.io.InputStream in)
Decode binary safe stream. |
static java.io.OutputStream |
wrap(java.io.OutputStream out)
Wraps an OutputStream to encoding OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.io.InputStream wrap(java.io.InputStream in)
public static java.io.OutputStream wrap(java.io.OutputStream out)
OutputStream to encoding OutputStream.
out - This output stream should be buffered for better performance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||