类 Hessian2StreamingOutput
- java.lang.Object
-
- com.alibaba.com.caucho.hessian.io.Hessian2StreamingOutput
-
public class Hessian2StreamingOutput extends Object
Output stream for Hessian 2 streaming requests.
-
-
构造器概要
构造器 构造器 说明 Hessian2StreamingOutput(OutputStream os)
Creates a new Hessian output stream, initialized with an underlying output stream.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
close()
Close the output.void
flush()
Flushes the output.boolean
isCloseStreamOnClose()
void
setCloseStreamOnClose(boolean isClose)
void
writeObject(Object object)
Writes any object to the output stream.
-
-
-
构造器详细资料
-
Hessian2StreamingOutput
public Hessian2StreamingOutput(OutputStream os)
Creates a new Hessian output stream, initialized with an underlying output stream.- 参数:
os
- the underlying output stream.
-
-
方法详细资料
-
isCloseStreamOnClose
public boolean isCloseStreamOnClose()
-
setCloseStreamOnClose
public void setCloseStreamOnClose(boolean isClose)
-
writeObject
public void writeObject(Object object) throws IOException
Writes any object to the output stream.- 抛出:
IOException
-
flush
public void flush() throws IOException
Flushes the output.- 抛出:
IOException
-
close
public void close() throws IOException
Close the output.- 抛出:
IOException
-
-