Package com.caucho.hessian.io
Class Hessian2StreamingOutput
java.lang.Object
com.caucho.hessian.io.Hessian2StreamingOutput
Output stream for Hessian 2 streaming requests.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new Hessian output stream, initialized with an underlying output stream. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close the output.void
flush()
Flushes the output.boolean
void
setCloseStreamOnClose
(boolean isClose) void
writeObject
(Object object) Writes any object to the output stream.
-
Constructor Details
-
Hessian2StreamingOutput
Creates a new Hessian output stream, initialized with an underlying output stream.- Parameters:
os
- the underlying output stream.
-
Hessian2StreamingOutput
-
-
Method Details
-
getHessian2Output
-
setCloseStreamOnClose
public void setCloseStreamOnClose(boolean isClose) -
isCloseStreamOnClose
public boolean isCloseStreamOnClose() -
writeObject
Writes any object to the output stream.- Throws:
IOException
-
flush
Flushes the output.- Throws:
IOException
-
close
Close the output.- Throws:
IOException
-