Class ApiClientExtended

java.lang.Object
ru.testit.client.invoker.JavaTimeFormatter
ru.testit.client.invoker.ApiClient
ru.testit.clients.ApiClientExtended

public class ApiClientExtended extends ru.testit.client.invoker.ApiClient
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     
    protected Random
     

    Fields inherited from class ru.testit.client.invoker.ApiClient

    authenticationLookup, authentications, basePath, clientConfig, connectionTimeout, dateFormat, debugging, defaultCookieMap, defaultHeaderMap, httpClient, json, operationServerIndex, operationServers, operationServerVariables, serverIndex, servers, serverVariables, tempFolderPath, userAgent
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> ru.testit.client.invoker.ApiResponse<T>
    invokeAPI(String operation, String path, String method, List<ru.testit.client.invoker.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, boolean isBodyNullable)
     
    serializeToString(Object obj, Map<String,Object> formParams, String contentType, boolean isBodyNullable)
     

    Methods inherited from class ru.testit.client.invoker.ApiClient

    addDefaultCookie, addDefaultHeader, buildHttpClient, buildResponseHeaders, configureApiKeys, customizeClientBuilder, deserialize, disableCertificateValidation, downloadFileFromResponse, escapeString, formatDate, getAuthentication, getAuthentications, getBasePath, getClientConfig, getConnectTimeout, getDateFormat, getDefaultClientConfig, getHttpClient, getJSON, getReadTimeout, getServerIndex, getServers, getServerVariables, getTempFolderPath, getUserAgent, invokeAPI, isDebugging, isJsonMime, parameterToPairs, parameterToString, parseDate, prepareDownloadFile, selectHeaderAccept, selectHeaderContentType, serialize, setApiKey, setApiKeyPrefix, setBasePath, setBearerToken, setClientConfig, setConnectTimeout, setDateFormat, setDebugging, setHttpClient, setPassword, setReadTimeout, setServerIndex, setServers, setServerVariables, setTempFolderPath, setUserAgent, setUsername, updateParamsForAuth

    Methods inherited from class ru.testit.client.invoker.JavaTimeFormatter

    formatOffsetDateTime, getOffsetDateTimeFormatter, parseOffsetDateTime, setOffsetDateTimeFormatter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • random

      protected Random random
    • multipartBoundary

      protected String multipartBoundary
  • Constructor Details

    • ApiClientExtended

      public ApiClientExtended()
  • Method Details

    • serializeToString

      public String serializeToString(Object obj, Map<String,Object> formParams, String contentType, boolean isBodyNullable) throws ru.testit.client.invoker.ApiException
      Overrides:
      serializeToString in class ru.testit.client.invoker.ApiClient
      Throws:
      ru.testit.client.invoker.ApiException
    • invokeAPI

      public <T> ru.testit.client.invoker.ApiResponse<T> invokeAPI(String operation, String path, String method, List<ru.testit.client.invoker.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, boolean isBodyNullable) throws ru.testit.client.invoker.ApiException
      Overrides:
      invokeAPI in class ru.testit.client.invoker.ApiClient
      Throws:
      ru.testit.client.invoker.ApiException