public class Hessian2StreamingOutput
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Hessian2Output |
_out |
Constructor and Description |
---|
Hessian2StreamingOutput(java.io.OutputStream os)
Creates a new Hessian output stream, initialized with an
underlying output stream.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the output.
|
void |
flush()
Flushes the output.
|
boolean |
isCloseStreamOnClose() |
void |
setCloseStreamOnClose(boolean isClose) |
void |
writeObject(java.lang.Object object)
Writes any object to the output stream.
|
private Hessian2Output _out
public Hessian2StreamingOutput(java.io.OutputStream os)
os
- the underlying output stream.public void setCloseStreamOnClose(boolean isClose)
public boolean isCloseStreamOnClose()
public void writeObject(java.lang.Object object) throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException