Package com.caucho.hessian.io
Class Deflation
- java.lang.Object
-
- com.caucho.hessian.io.HessianEnvelope
-
- com.caucho.hessian.io.Deflation
-
public class Deflation extends HessianEnvelope
-
-
Constructor Summary
Constructors Constructor Description Deflation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Hessian2Input
unwrap(Hessian2Input in)
Unwrap the Hessian input stream with this envelope.Hessian2Input
unwrapHeaders(Hessian2Input in)
Unwrap the envelope after having read the envelope code ('E') and the envelope method.Hessian2Output
wrap(Hessian2Output out)
Wrap the Hessian output stream in an envelope.
-
-
-
Method Detail
-
wrap
public Hessian2Output wrap(Hessian2Output out) throws java.io.IOException
Description copied from class:HessianEnvelope
Wrap the Hessian output stream in an envelope.- Specified by:
wrap
in classHessianEnvelope
- Throws:
java.io.IOException
-
unwrap
public Hessian2Input unwrap(Hessian2Input in) throws java.io.IOException
Description copied from class:HessianEnvelope
Unwrap the Hessian input stream with this envelope. It is an error if the actual envelope does not match the expected envelope class.- Specified by:
unwrap
in classHessianEnvelope
- Throws:
java.io.IOException
-
unwrapHeaders
public Hessian2Input unwrapHeaders(Hessian2Input in) throws java.io.IOException
Description copied from class:HessianEnvelope
Unwrap the envelope after having read the envelope code ('E') and the envelope method. Called by the EnvelopeFactory for dynamic reading of the envelopes.- Specified by:
unwrapHeaders
in classHessianEnvelope
- Throws:
java.io.IOException
-
-