Class VitamApiClient


public class VitamApiClient extends ApiClient
  • Constructor Details

    • VitamApiClient

      public VitamApiClient()
  • Method Details

    • invokeAPI

      public <T> T invokeAPI(String path, String method, List<Pair> queryParams, Object body, Map<String,String> headerParams, Map<String,String> cookieParams, Map<String,Object> formParams, String accept, String contentType, String[] authNames, jakarta.ws.rs.core.GenericType<T> returnType) throws ApiException
      Description copied from class: ApiClient
      Invoke API by sending HTTP request with the given options.
      Overrides:
      invokeAPI in class ApiClient
      Type Parameters:
      T - a Java type parameter
      Parameters:
      path - The sub-path of the HTTP URL
      method - The request method, one of "GET", "POST", "PUT", "HEAD" and "DELETE"
      queryParams - The query parameters
      body - The request body object
      headerParams - The header parameters
      cookieParams - The cookie parameters
      formParams - The form parameters
      accept - The request's Accept header
      contentType - The request's Content-Type header
      authNames - The authentications to apply
      returnType - The return type into which to deserialize the response
      Returns:
      The response body in type of string
      Throws:
      ApiException - if the invocation failed