Class HessianEnvelope

  • Direct Known Subclasses:
    Deflation, X509Encryption, X509Signature

    public abstract class HessianEnvelope
    extends java.lang.Object
    Factory class for wrapping and unwrapping hessian streams.
    • Constructor Detail

      • HessianEnvelope

        public HessianEnvelope()
    • Method Detail

      • wrap

        public abstract Hessian2Output wrap​(Hessian2Output out)
                                     throws java.io.IOException
        Wrap the Hessian output stream in an envelope.
        Throws:
        java.io.IOException
      • unwrap

        public abstract Hessian2Input unwrap​(Hessian2Input in)
                                      throws java.io.IOException
        Unwrap the Hessian input stream with this envelope. It is an error if the actual envelope does not match the expected envelope class.
        Throws:
        java.io.IOException
      • unwrapHeaders

        public abstract Hessian2Input unwrapHeaders​(Hessian2Input in)
                                             throws java.io.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.
        Throws:
        java.io.IOException