Interface SftpErrorDataHandler

  • All Known Implementing Classes:
    AbstractSftpClient, DefaultSftpClient, SftpFileSystem.Wrapper
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface SftpErrorDataHandler
    Callback for any error stream data sent by the server
    • Method Detail

      • errorData

        void errorData​(byte[] buf,
                       int start,
                       int len)
                throws java.io.IOException
        Receive binary data from server error stream
        Parameters:
        buf - The buffer of the incoming data
        start - Offset in buffer to read the data
        len - Available data in buffer
        Throws:
        java.io.IOException - If failed to receive incoming data