Interface BaseController.ResponseHandler<T>

Enclosing class:
BaseController

protected static interface BaseController.ResponseHandler<T>
ResponseHandler
  • Method Summary

    Modifier and Type Method Description
    ApiResponse<T> handle​(HttpContext context)
    Handles the response for an endpoint
  • Method Details

    • handle

      ApiResponse<T> handle​(HttpContext context) throws ApiException, java.io.IOException
      Handles the response for an endpoint
      Parameters:
      context - HttpContext of the request and the received response
      Returns:
      An object of type ApiResponse
      Throws:
      ApiException
      java.io.IOException