Class WrappedOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    public class WrappedOutputStream
    extends FilterOutputStream
    An implementation of output stream which serves as a proxy for another output stream instance and collects the data pieces to be written in a string buffer (these pieces are XML and/or MIME artifacts).
    Dmytro Rud
    • Constructor Detail

      • WrappedOutputStream

        public WrappedOutputStream​(OutputStream os,
                                   String charsetName)
        os - the output data stream to be wrapped
        charsetName - character set name, may be null if not known.
    • Method Detail

      • getCollectedPayload

        public String getCollectedPayload()
        Returns the collected message payload.
        SOAP payload as XML String.
      • deactivate

        public void deactivate()
        Deactivates any further data collecting.