
io.apimatic.examples.Configuration Maven / Gradle / Ivy
/*
* APIMATICCalculatorLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
package io.apimatic.examples;
import io.apimatic.examples.http.client.ReadonlyHttpClientConfiguration;
/**
* Configuration Interface for the library.
*/
public interface Configuration {
/**
* Current API environment.
* @return a copy of environment
*/
Environment getEnvironment();
/**
* Http Client Configuration instance.
* @return a copy of httpClientConfig
*/
ReadonlyHttpClientConfiguration getHttpClientConfig();
/**
* The timeout to use for making HTTP requests. The timeout to use for making HTTP requests.
* @return a copy of timeout
*/
long timeout();
/**
* Get base URI by current environment.
* @param server Server for which to get the base URI
* @return Processed base URI
*/
String getBaseUri(Server server);
/**
* Get base URI by current environment.
* @return Processed base URI
*/
String getBaseUri();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy