com.isomorphic.datasource

## Interface BaseRequestHandler

-     public interface BaseRequestHandler

  This class handles execution of `BaseRequest`, mainly inside `DSTransaction.processQueue()`. You can implement your own version of this to control how a request is executed and how to deal with any exceptions thrown during it's execution.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `BaseResponse` | `handleRequest(BaseRequest request)` Used to execute a request such as `DSRequest` or `RPCRequest`.

- - ### Method Detail

    - #### handleRequest

          BaseResponse handleRequest(BaseRequest request)

      Used to execute a request such as `DSRequest` or `RPCRequest`. The job of this handler is to deal with any pre- or post-processing required. Typical usage includes handling errors thrown by `BaseRequest.execute()`.
      Parameters:
        `request` - the request to be handled, must be something which extends `BaseRequest`
      Returns:
        `BaseResponse` as a result of processing the request.