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 TypeMethodDescriptionvoidclose()Close the output.voidflush()Flushes the output.booleanvoidsetCloseStreamOnClose(boolean isClose) voidwriteObject(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
-