Package com.caucho.hessian.io
Class HessianEnvelope
java.lang.Object
com.caucho.hessian.io.HessianEnvelope
- Direct Known Subclasses:
Deflation
,X509Encryption
,X509Signature
Factory class for wrapping and unwrapping hessian streams.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Hessian2Input
unwrap
(Hessian2Input in) Unwrap the Hessian input stream with this envelope.abstract Hessian2Input
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.
-
Constructor Details
-
HessianEnvelope
public HessianEnvelope()
-
-
Method Details
-
wrap
Wrap the Hessian output stream in an envelope.- Throws:
IOException
-
unwrap
Unwrap the Hessian input stream with this envelope. It is an error if the actual envelope does not match the expected envelope class.- Throws:
IOException
-
unwrapHeaders
Unwrap the envelope after having read the envelope code ('E') and the envelope method. Called by the EnvelopeFactory for dynamic reading of the envelopes.- Throws:
IOException
-