Interface WrapperStreamFactory

  • All Known Implementing Classes:
    CompressionFilter

    @Deprecated
    public interface WrapperStreamFactory
    Deprecated.
    As of Coherence 3.7, deprecated with no replacement.
    Provides the means to wrap an InputStream and OutputStream, such that functionality such as compression and encryption can be implemented in a layered, pluggable fashion.
    Author:
    cp 2002.08.19
    • Method Detail

      • getInputStream

        InputStream getInputStream​(InputStream stream)
        Deprecated.
        Requests an InputStream that wraps the passed InputStream.
        Parameters:
        stream - the java.io.InputStream to be wrapped
        Returns:
        an InputStream that delegates to ("wraps") the passed InputStream
      • getOutputStream

        OutputStream getOutputStream​(OutputStream stream)
        Deprecated.
        Requests an OutputStream that wraps the passed OutputStream.
        Parameters:
        stream - the java.io.OutputStream to be wrapped
        Returns:
        an OutputStream that delegates to ("wraps") the passed OutputStream