类 HessianEnvelope
- java.lang.Object
-
- com.alibaba.com.caucho.hessian.io.HessianEnvelope
-
- 直接已知子类:
Deflation
,X509Encryption
,X509Signature
public abstract class HessianEnvelope extends Object
Factory class for wrapping and unwrapping hessian streams.
-
-
构造器概要
构造器 构造器 说明 HessianEnvelope()
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 abstract Hessian2Input
unwrap(Hessian2Input in)
Unwrap the Hessian input stream with this envelope.abstract Hessian2Input
unwrapHeaders(Hessian2Input in)
Unwrap the envelope after having read the envelope code ('E') and the envelope method.abstract Hessian2Output
wrap(Hessian2Output out)
Wrap the Hessian output stream in an envelope.
-
-
-
方法详细资料
-
wrap
public abstract Hessian2Output wrap(Hessian2Output out) throws IOException
Wrap the Hessian output stream in an envelope.- 抛出:
IOException
-
unwrap
public abstract Hessian2Input unwrap(Hessian2Input in) throws IOException
Unwrap the Hessian input stream with this envelope. It is an error if the actual envelope does not match the expected envelope class.- 抛出:
IOException
-
unwrapHeaders
public abstract Hessian2Input unwrapHeaders(Hessian2Input in) throws IOException
Unwrap the envelope after having read the envelope code ('E') and the envelope method. Called by the EnvelopeFactory for dynamic reading of the envelopes.- 抛出:
IOException
-
-