|
||||||||||
| 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 InputStream |
wrap(InputStream in)
Decode binary safe stream. |
static OutputStream |
wrap(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 InputStream wrap(InputStream in)
public static OutputStream wrap(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 | |||||||||