Interface BulkRestDataReceiver


public interface BulkRestDataReceiver
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    receiveData(byte[] data)
    called when receiving data.
    default void
    Called when receiving an exception.
  • Method Details

    • 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 -