Interface ApiCalls.ApiCall<T>

Enclosing class:
ApiCalls
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 static interface ApiCalls.ApiCall<T>
An api-client invocation, which may fail with the generated checked exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    Perform the call.
  • Method Details

    • invoke

      T invoke() throws com.qtsurfer.api.client.invoker.ApiException
      Perform the call.
      Returns:
      the api-client response
      Throws:
      com.qtsurfer.api.client.invoker.ApiException - on HTTP 4xx/5xx or transport failure