Package com.hellosign.openapi
Class ApiClient
- java.lang.Object
-
- com.hellosign.openapi.JavaTimeFormatter
-
- com.hellosign.openapi.ApiClient
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ApiClient extends JavaTimeFormatterApiClient class.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.lang.String>authenticationLookupprotected java.util.Map<java.lang.String,Authentication>authenticationsprotected java.lang.StringbasePathprotected org.glassfish.jersey.client.ClientConfigclientConfigprotected intconnectionTimeoutprotected java.text.DateFormatdateFormatprotected booleandebuggingprotected java.util.Map<java.lang.String,java.lang.String>defaultCookieMapprotected java.util.Map<java.lang.String,java.lang.String>defaultHeaderMapprotected javax.ws.rs.client.ClienthttpClientprotected JSONjsonprotected java.util.Map<java.lang.String,java.lang.Integer>operationServerIndexprotected java.util.Map<java.lang.String,java.util.List<ServerConfiguration>>operationServersprotected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>operationServerVariablesprotected java.lang.IntegerserverIndexprotected java.util.List<ServerConfiguration>serversprotected java.util.Map<java.lang.String,java.lang.String>serverVariablesprotected java.lang.StringtempFolderPathprotected java.lang.StringuserAgent
-
Constructor Summary
Constructors Constructor Description ApiClient()Constructs a new ApiClient with default parameters.ApiClient(java.util.Map<java.lang.String,Authentication> authMap)Constructs a new ApiClient with the specified authentication parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ApiClientaddDefaultCookie(java.lang.String key, java.lang.String value)Add a default cookie.ApiClientaddDefaultHeader(java.lang.String key, java.lang.String value)Add a default header.protected javax.ws.rs.client.ClientbuildHttpClient()Build the Client used to make HTTP requests.protected java.util.Map<java.lang.String,java.util.List<java.lang.String>>buildResponseHeaders(javax.ws.rs.core.Response response)Build the response headers.ApiClientconfigureApiKeys(java.util.Map<java.lang.String,java.lang.String> secrets)Helper method to configure authentications which respects aliases of API keys.protected voidcustomizeClientBuilder(javax.ws.rs.client.ClientBuilder clientBuilder)Customize the client builder.<T> Tdeserialize(javax.ws.rs.core.Response response, javax.ws.rs.core.GenericType<T> returnType)Deserialize response body to Java object according to the Content-Type.protected voiddisableCertificateValidation(javax.ws.rs.client.ClientBuilder clientBuilder)Disable X.509 certificate validation in TLS connections.java.io.FiledownloadFileFromResponse(javax.ws.rs.core.Response response)Download file from the given response.java.lang.StringescapeString(java.lang.String str)Escape the given string to be used as URL query value.java.lang.StringformatDate(java.util.Date date)Format the given Date object into string.AuthenticationgetAuthentication(java.lang.String authName)Get authentication for the given name.java.util.Map<java.lang.String,Authentication>getAuthentications()Get authentications (key: authentication name, value: authentication).java.lang.StringgetBasePath()Returns the base URL to the location where the OpenAPI document is being served.org.glassfish.jersey.client.ClientConfiggetClientConfig()Gets the client config.intgetConnectTimeout()Connect timeout (in milliseconds).java.text.DateFormatgetDateFormat()Get the date format used to parse/format date parameters.org.glassfish.jersey.client.ClientConfiggetDefaultClientConfig()Get the default client config.javax.ws.rs.client.ClientgetHttpClient()Getter for the fieldhttpClient.JSONgetJSON()Gets the JSON instance to do JSON serialization and deserialization.intgetReadTimeout()read timeout (in milliseconds).java.lang.IntegergetServerIndex()Getter for the fieldserverIndex.java.util.List<ServerConfiguration>getServers()Getter for the fieldservers.java.util.Map<java.lang.String,java.lang.String>getServerVariables()Getter for the fieldserverVariables.java.lang.StringgetTempFolderPath()The path of temporary folder used to store downloaded files from endpoints with file response.java.lang.StringgetUserAgent()Get the User-Agent header's value.<T> ApiResponse<T>invokeAPI(java.lang.String operation, java.lang.String path, java.lang.String method, java.util.List<Pair> queryParams, java.lang.Object body, java.util.Map<java.lang.String,java.lang.String> headerParams, java.util.Map<java.lang.String,java.lang.String> cookieParams, java.util.Map<java.lang.String,java.lang.Object> formParams, java.lang.String accept, java.lang.String contentType, java.lang.String[] authNames, javax.ws.rs.core.GenericType<T> returnType, boolean isBodyNullable)Invoke API by sending HTTP request with the given options.<T> ApiResponse<T>invokeAPI(java.lang.String path, java.lang.String method, java.util.List<Pair> queryParams, java.lang.Object body, java.util.Map<java.lang.String,java.lang.String> headerParams, java.util.Map<java.lang.String,java.lang.String> cookieParams, java.util.Map<java.lang.String,java.lang.Object> formParams, java.lang.String accept, java.lang.String contentType, java.lang.String[] authNames, javax.ws.rs.core.GenericType<T> returnType, boolean isBodyNullable)Deprecated.Add qualified name of the operation as a first parameter.booleanisDebugging()Check that whether debugging is enabled for this API client.booleanisJsonMime(java.lang.String mime)Check if the given MIME is a JSON MIME.java.util.List<Pair>parameterToPairs(java.lang.String collectionFormat, java.lang.String name, java.lang.Object value)java.lang.StringparameterToString(java.lang.Object param)Format the given parameter object into string.java.util.DateparseDate(java.lang.String str)Parse the given string into Date object.java.io.FileprepareDownloadFile(javax.ws.rs.core.Response response)Prepare the file for download from the response.java.lang.StringselectHeaderAccept(java.lang.String[] accepts)Select the Accept header's value from the given accepts array: if JSON exists in the given array, use it; otherwise use all of them (joining into a string)java.lang.StringselectHeaderContentType(java.lang.String[] contentTypes)Select the Content-Type header's value from the given array: if JSON exists in the given array, use it; otherwise use the first one of the array.javax.ws.rs.client.Entity<?>serialize(java.lang.Object obj, java.util.Map<java.lang.String,java.lang.Object> formParams, java.lang.String contentType, boolean isBodyNullable)Serialize the given Java object into string entity according the given Content-Type (only JSON is supported for now).java.lang.StringserializeToString(java.lang.Object obj, java.util.Map<java.lang.String,java.lang.Object> formParams, java.lang.String contentType, boolean isBodyNullable)Serialize the given Java object into string according the given Content-Type (only JSON, HTTP form is supported for now).ApiClientsetApiKey(java.lang.String apiKey)Helper method to set API key value for the first API key authentication.ApiClientsetApiKeyPrefix(java.lang.String apiKeyPrefix)Helper method to set API key prefix for the first API key authentication.ApiClientsetBasePath(java.lang.String basePath)Sets the base URL to the location where the OpenAPI document is being served.ApiClientsetBearerToken(java.lang.String bearerToken)Helper method to set bearer token for the first Bearer authentication.ApiClientsetClientConfig(org.glassfish.jersey.client.ClientConfig clientConfig)Set the client config.ApiClientsetConnectTimeout(int connectionTimeout)Set the connect timeout (in milliseconds).ApiClientsetDateFormat(java.text.DateFormat dateFormat)Set the date format used to parse/format date parameters.ApiClientsetDebugging(boolean debugging)Enable/disable debugging for this API client.ApiClientsetHttpClient(javax.ws.rs.client.Client httpClient)Setter for the fieldhttpClient.ApiClientsetPassword(java.lang.String password)Helper method to set password for the first HTTP basic authentication.ApiClientsetReadTimeout(int readTimeout)Set the read timeout (in milliseconds).ApiClientsetServerIndex(java.lang.Integer serverIndex)Setter for the fieldserverIndex.ApiClientsetServers(java.util.List<ServerConfiguration> servers)Setter for the fieldservers.ApiClientsetServerVariables(java.util.Map<java.lang.String,java.lang.String> serverVariables)Setter for the fieldserverVariables.ApiClientsetTempFolderPath(java.lang.String tempFolderPath)Set temp folder pathApiClientsetUserAgent(java.lang.String userAgent)Set the User-Agent header's value (by adding to the default header map).ApiClientsetUsername(java.lang.String username)Helper method to set username for the first HTTP basic authentication.protected voidupdateParamsForAuth(java.lang.String[] authNames, java.util.List<Pair> queryParams, java.util.Map<java.lang.String,java.lang.String> headerParams, java.util.Map<java.lang.String,java.lang.String> cookieParams, java.lang.String payload, java.lang.String method, java.net.URI uri)Update query and header parameters based on authentication settings.-
Methods inherited from class com.hellosign.openapi.JavaTimeFormatter
formatOffsetDateTime, getOffsetDateTimeFormatter, parseOffsetDateTime, setOffsetDateTimeFormatter
-
-
-
-
Field Detail
-
defaultHeaderMap
protected java.util.Map<java.lang.String,java.lang.String> defaultHeaderMap
-
defaultCookieMap
protected java.util.Map<java.lang.String,java.lang.String> defaultCookieMap
-
basePath
protected java.lang.String basePath
-
userAgent
protected java.lang.String userAgent
-
servers
protected java.util.List<ServerConfiguration> servers
-
serverIndex
protected java.lang.Integer serverIndex
-
serverVariables
protected java.util.Map<java.lang.String,java.lang.String> serverVariables
-
operationServers
protected java.util.Map<java.lang.String,java.util.List<ServerConfiguration>> operationServers
-
operationServerIndex
protected java.util.Map<java.lang.String,java.lang.Integer> operationServerIndex
-
operationServerVariables
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> operationServerVariables
-
debugging
protected boolean debugging
-
clientConfig
protected org.glassfish.jersey.client.ClientConfig clientConfig
-
connectionTimeout
protected int connectionTimeout
-
httpClient
protected javax.ws.rs.client.Client httpClient
-
json
protected JSON json
-
tempFolderPath
protected java.lang.String tempFolderPath
-
authentications
protected java.util.Map<java.lang.String,Authentication> authentications
-
authenticationLookup
protected java.util.Map<java.lang.String,java.lang.String> authenticationLookup
-
dateFormat
protected java.text.DateFormat dateFormat
-
-
Constructor Detail
-
ApiClient
public ApiClient()
Constructs a new ApiClient with default parameters.
-
ApiClient
public ApiClient(java.util.Map<java.lang.String,Authentication> authMap)
Constructs a new ApiClient with the specified authentication parameters.- Parameters:
authMap- A hash map containing authentication parameters.
-
-
Method Detail
-
getJSON
public JSON getJSON()
Gets the JSON instance to do JSON serialization and deserialization.- Returns:
- JSON
-
getHttpClient
public javax.ws.rs.client.Client getHttpClient()
Getter for the field
httpClient.- Returns:
- a
Clientobject.
-
setHttpClient
public ApiClient setHttpClient(javax.ws.rs.client.Client httpClient)
Setter for the field
httpClient.- Parameters:
httpClient- aClientobject.- Returns:
- a
ApiClientobject.
-
getBasePath
public java.lang.String getBasePath()
Returns the base URL to the location where the OpenAPI document is being served.- Returns:
- The base URL to the target host.
-
setBasePath
public ApiClient setBasePath(java.lang.String basePath)
Sets the base URL to the location where the OpenAPI document is being served.- Parameters:
basePath- The base URL to the target host.- Returns:
- a
ApiClientobject.
-
getServers
public java.util.List<ServerConfiguration> getServers()
Getter for the field
servers.- Returns:
- a
Listof servers.
-
setServers
public ApiClient setServers(java.util.List<ServerConfiguration> servers)
Setter for the field
servers.- Parameters:
servers- aListof servers.- Returns:
- a
ApiClientobject.
-
getServerIndex
public java.lang.Integer getServerIndex()
Getter for the field
serverIndex.- Returns:
- a
Integerobject.
-
setServerIndex
public ApiClient setServerIndex(java.lang.Integer serverIndex)
Setter for the field
serverIndex.- Parameters:
serverIndex- the server index- Returns:
- a
ApiClientobject.
-
getServerVariables
public java.util.Map<java.lang.String,java.lang.String> getServerVariables()
Getter for the field
serverVariables.- Returns:
- a
Mapof server variables.
-
setServerVariables
public ApiClient setServerVariables(java.util.Map<java.lang.String,java.lang.String> serverVariables)
Setter for the field
serverVariables.- Parameters:
serverVariables- aMapof server variables.- Returns:
- a
ApiClientobject.
-
getAuthentications
public java.util.Map<java.lang.String,Authentication> getAuthentications()
Get authentications (key: authentication name, value: authentication).- Returns:
- Map of authentication object
-
getAuthentication
public Authentication getAuthentication(java.lang.String authName)
Get authentication for the given name.- Parameters:
authName- The authentication name- Returns:
- The authentication, null if not found
-
setUsername
public ApiClient setUsername(java.lang.String username)
Helper method to set username for the first HTTP basic authentication.- Parameters:
username- Username- Returns:
- a
ApiClientobject.
-
setPassword
public ApiClient setPassword(java.lang.String password)
Helper method to set password for the first HTTP basic authentication.- Parameters:
password- Password- Returns:
- a
ApiClientobject.
-
setApiKey
public ApiClient setApiKey(java.lang.String apiKey)
Helper method to set API key value for the first API key authentication.- Parameters:
apiKey- API key- Returns:
- a
ApiClientobject.
-
configureApiKeys
public ApiClient configureApiKeys(java.util.Map<java.lang.String,java.lang.String> secrets)
Helper method to configure authentications which respects aliases of API keys.- Parameters:
secrets- Hash map from authentication name to its secret.- Returns:
- a
ApiClientobject.
-
setApiKeyPrefix
public ApiClient setApiKeyPrefix(java.lang.String apiKeyPrefix)
Helper method to set API key prefix for the first API key authentication.- Parameters:
apiKeyPrefix- API key prefix- Returns:
- a
ApiClientobject.
-
setBearerToken
public ApiClient setBearerToken(java.lang.String bearerToken)
Helper method to set bearer token for the first Bearer authentication.- Parameters:
bearerToken- Bearer token- Returns:
- a
ApiClientobject.
-
setUserAgent
public ApiClient setUserAgent(java.lang.String userAgent)
Set the User-Agent header's value (by adding to the default header map).- Parameters:
userAgent- Http user agent- Returns:
- a
ApiClientobject.
-
getUserAgent
public java.lang.String getUserAgent()
Get the User-Agent header's value.- Returns:
- User-Agent string
-
addDefaultHeader
public ApiClient addDefaultHeader(java.lang.String key, java.lang.String value)
Add a default header.- Parameters:
key- The header's keyvalue- The header's value- Returns:
- a
ApiClientobject.
-
addDefaultCookie
public ApiClient addDefaultCookie(java.lang.String key, java.lang.String value)
Add a default cookie.- Parameters:
key- The cookie's keyvalue- The cookie's value- Returns:
- a
ApiClientobject.
-
getClientConfig
public org.glassfish.jersey.client.ClientConfig getClientConfig()
Gets the client config.- Returns:
- Client config
-
setClientConfig
public ApiClient setClientConfig(org.glassfish.jersey.client.ClientConfig clientConfig)
Set the client config.- Parameters:
clientConfig- Set the client config- Returns:
- a
ApiClientobject.
-
isDebugging
public boolean isDebugging()
Check that whether debugging is enabled for this API client.- Returns:
- True if debugging is switched on
-
setDebugging
public ApiClient setDebugging(boolean debugging)
Enable/disable debugging for this API client.- Parameters:
debugging- To enable (true) or disable (false) debugging- Returns:
- a
ApiClientobject.
-
getTempFolderPath
public java.lang.String getTempFolderPath()
The path of temporary folder used to store downloaded files from endpoints with file response. The default value isnull, i.e. using the system's default temporary folder.- Returns:
- Temp folder path
-
setTempFolderPath
public ApiClient setTempFolderPath(java.lang.String tempFolderPath)
Set temp folder path- Parameters:
tempFolderPath- Temp folder path- Returns:
- a
ApiClientobject.
-
getConnectTimeout
public int getConnectTimeout()
Connect timeout (in milliseconds).- Returns:
- Connection timeout
-
setConnectTimeout
public ApiClient setConnectTimeout(int connectionTimeout)
Set the connect timeout (in milliseconds). A value of 0 means no timeout, otherwise values must be between 1 andInteger.MAX_VALUE.- Parameters:
connectionTimeout- Connection timeout in milliseconds- Returns:
- a
ApiClientobject.
-
getReadTimeout
public int getReadTimeout()
read timeout (in milliseconds).- Returns:
- Read timeout
-
setReadTimeout
public ApiClient setReadTimeout(int readTimeout)
Set the read timeout (in milliseconds). A value of 0 means no timeout, otherwise values must be between 1 andInteger.MAX_VALUE.- Parameters:
readTimeout- Read timeout in milliseconds- Returns:
- a
ApiClientobject.
-
getDateFormat
public java.text.DateFormat getDateFormat()
Get the date format used to parse/format date parameters.- Returns:
- Date format
-
setDateFormat
public ApiClient setDateFormat(java.text.DateFormat dateFormat)
Set the date format used to parse/format date parameters.- Parameters:
dateFormat- Date format- Returns:
- a
ApiClientobject.
-
parseDate
public java.util.Date parseDate(java.lang.String str)
Parse the given string into Date object.- Parameters:
str- String- Returns:
- Date
-
formatDate
public java.lang.String formatDate(java.util.Date date)
Format the given Date object into string.- Parameters:
date- Date- Returns:
- Date in string format
-
parameterToString
public java.lang.String parameterToString(java.lang.Object param)
Format the given parameter object into string.- Parameters:
param- Object- Returns:
- Object in string format
-
parameterToPairs
public java.util.List<Pair> parameterToPairs(java.lang.String collectionFormat, java.lang.String name, java.lang.Object value)
-
isJsonMime
public boolean isJsonMime(java.lang.String mime)
Check if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json "* / *" is also default to JSON- Parameters:
mime- MIME- Returns:
- True if the MIME type is JSON
-
selectHeaderAccept
public java.lang.String selectHeaderAccept(java.lang.String[] accepts)
Select the Accept header's value from the given accepts array: if JSON exists in the given array, use it; otherwise use all of them (joining into a string)- Parameters:
accepts- The accepts array to select from- Returns:
- The Accept header to use. If the given array is empty, null will be returned (not to set the Accept header explicitly).
-
selectHeaderContentType
public java.lang.String selectHeaderContentType(java.lang.String[] contentTypes)
Select the Content-Type header's value from the given array: if JSON exists in the given array, use it; otherwise use the first one of the array.- Parameters:
contentTypes- The Content-Type array to select from- Returns:
- The Content-Type header to use. If the given array is empty, JSON will be used.
-
escapeString
public java.lang.String escapeString(java.lang.String str)
Escape the given string to be used as URL query value.- Parameters:
str- String- Returns:
- Escaped string
-
serialize
public javax.ws.rs.client.Entity<?> serialize(java.lang.Object obj, java.util.Map<java.lang.String,java.lang.Object> formParams, java.lang.String contentType, boolean isBodyNullable) throws ApiExceptionSerialize the given Java object into string entity according the given Content-Type (only JSON is supported for now).- Parameters:
obj- ObjectformParams- Form parameterscontentType- Context type- Returns:
- Entity
- Throws:
ApiException- API exception
-
serializeToString
public java.lang.String serializeToString(java.lang.Object obj, java.util.Map<java.lang.String,java.lang.Object> formParams, java.lang.String contentType, boolean isBodyNullable) throws ApiExceptionSerialize the given Java object into string according the given Content-Type (only JSON, HTTP form is supported for now).- Parameters:
obj- ObjectformParams- Form parameterscontentType- Context typeisBodyNullable- True if the body is nullable- Returns:
- String
- Throws:
ApiException- API exception
-
deserialize
public <T> T deserialize(javax.ws.rs.core.Response response, javax.ws.rs.core.GenericType<T> returnType) throws ApiExceptionDeserialize response body to Java object according to the Content-Type.- Type Parameters:
T- Type- Parameters:
response- ResponsereturnType- Return type- Returns:
- Deserialize object
- Throws:
ApiException- API exception
-
downloadFileFromResponse
public java.io.File downloadFileFromResponse(javax.ws.rs.core.Response response) throws ApiExceptionDownload file from the given response.- Parameters:
response- Response- Returns:
- File
- Throws:
ApiException- If fail to read file content from response and write to disk
-
prepareDownloadFile
public java.io.File prepareDownloadFile(javax.ws.rs.core.Response response) throws java.io.IOExceptionPrepare the file for download from the response.
- Parameters:
response- aResponseobject.- Returns:
- a
Fileobject. - Throws:
java.io.IOException- if any.
-
invokeAPI
public <T> ApiResponse<T> invokeAPI(java.lang.String operation, java.lang.String path, java.lang.String method, java.util.List<Pair> queryParams, java.lang.Object body, java.util.Map<java.lang.String,java.lang.String> headerParams, java.util.Map<java.lang.String,java.lang.String> cookieParams, java.util.Map<java.lang.String,java.lang.Object> formParams, java.lang.String accept, java.lang.String contentType, java.lang.String[] authNames, javax.ws.rs.core.GenericType<T> returnType, boolean isBodyNullable) throws ApiException
Invoke API by sending HTTP request with the given options.- Type Parameters:
T- Type- Parameters:
operation- The qualified name of the operationpath- The sub-path of the HTTP URLmethod- The request method, one of "GET", "POST", "PUT", "HEAD" and "DELETE"queryParams- The query parametersbody- The request body objectheaderParams- The header parameterscookieParams- The cookie parametersformParams- The form parametersaccept- The request's Accept headercontentType- The request's Content-Type headerauthNames- The authentications to applyreturnType- The return type into which to deserialize the responseisBodyNullable- True if the body is nullable- Returns:
- The response body in type of string
- Throws:
ApiException- API exception
-
invokeAPI
@Deprecated public <T> ApiResponse<T> invokeAPI(java.lang.String path, java.lang.String method, java.util.List<Pair> queryParams, java.lang.Object body, java.util.Map<java.lang.String,java.lang.String> headerParams, java.util.Map<java.lang.String,java.lang.String> cookieParams, java.util.Map<java.lang.String,java.lang.Object> formParams, java.lang.String accept, java.lang.String contentType, java.lang.String[] authNames, javax.ws.rs.core.GenericType<T> returnType, boolean isBodyNullable) throws ApiException
Deprecated.Add qualified name of the operation as a first parameter.- Throws:
ApiException
-
buildHttpClient
protected javax.ws.rs.client.Client buildHttpClient()
Build the Client used to make HTTP requests.- Returns:
- Client
-
getDefaultClientConfig
public org.glassfish.jersey.client.ClientConfig getDefaultClientConfig()
Get the default client config.- Returns:
- Client config
-
customizeClientBuilder
protected void customizeClientBuilder(javax.ws.rs.client.ClientBuilder clientBuilder)
Customize the client builder. This method can be overridden to customize the API client. For example, this can be used to: 1. Set the hostname verifier to be used by the client to verify the endpoint's hostname against its identification information. 2. Set the client-side key store. 3. Set the SSL context that will be used when creating secured transport connections to server endpoints from web targets created by the client instance that is using this SSL context. 4. Set the client-side trust store. To completely disable certificate validation (at your own risk), you can override this method and invoke disableCertificateValidation(clientBuilder).- Parameters:
clientBuilder- aClientBuilderobject.
-
disableCertificateValidation
protected void disableCertificateValidation(javax.ws.rs.client.ClientBuilder clientBuilder) throws java.security.KeyManagementException, java.security.NoSuchAlgorithmExceptionDisable X.509 certificate validation in TLS connections. Please note that trusting all certificates is extremely risky. This may be useful in a development environment with self-signed certificates.- Parameters:
clientBuilder- aClientBuilderobject.- Throws:
java.security.KeyManagementException- if any.java.security.NoSuchAlgorithmException- if any.
-
buildResponseHeaders
protected java.util.Map<java.lang.String,java.util.List<java.lang.String>> buildResponseHeaders(javax.ws.rs.core.Response response)
Build the response headers.
- Parameters:
response- aResponseobject.- Returns:
- a
Mapof response headers.
-
updateParamsForAuth
protected void updateParamsForAuth(java.lang.String[] authNames, java.util.List<Pair> queryParams, java.util.Map<java.lang.String,java.lang.String> headerParams, java.util.Map<java.lang.String,java.lang.String> cookieParams, java.lang.String payload, java.lang.String method, java.net.URI uri) throws ApiExceptionUpdate query and header parameters based on authentication settings.- Parameters:
authNames- The authentications to applyqueryParams- List of query parametersheaderParams- Map of header parameterscookieParams- Map of cookie parametersmethod- HTTP method (e.g. POST)uri- HTTP URI- Throws:
ApiException
-
-