Interface BulkRestDataReceiver


  • public interface BulkRestDataReceiver
    • Method Detail

      • receiveData

        void receiveData​(byte[] data)
                  throws ClientException
        called when receiving data.
        Parameters:
        data -
        Throws:
        ClientException - if exception is thrown the request will be aborted (connection to the server closed)
      • receiveException

        default void receiveException​(Throwable t)
        Called when receiving an exception. Note that the CompleteableFuture returned from RestClient can also be used to intercept the exception;
        Parameters:
        t -