Class DeflateSocket

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    final class DeflateSocket
    extends DelegateSocket
    Wrapper class for FTP data channel sockets when compressing data in the "deflate" compression format. All methods except of getInputStream() and getOutputStream() are calling the delegate methods directly.
    • Constructor Detail

      • DeflateSocket

        DeflateSocket​(java.net.Socket delegate)
    • Method Detail

      • getInputStream

        public java.io.InputStream getInputStream()
                                           throws java.io.IOException
        Overrides:
        getInputStream in class DelegateSocket
        Throws:
        java.io.IOException
      • getOutputStream

        public java.io.OutputStream getOutputStream()
                                             throws java.io.IOException
        Overrides:
        getOutputStream in class DelegateSocket
        Throws:
        java.io.IOException