Package com.appliedolap.essbase
Class ApiClientFactory
java.lang.Object
com.appliedolap.essbase.ApiClientFactory
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionApiClientFactory(String path, EssAuthentication authentication) Builds clients that authenticate however the given strategy says to, which need not involve a username and password at all - seeEssAuthentication.ApiClientFactory(String path, String username, String password) ApiClientFactory(String path, String username, String password, boolean stateless) -
Method Summary
Modifier and TypeMethodDescriptioncom.appliedolap.essbase.client.ApiClientcreate()Returns the current Authorization header value, matching what the request interceptor would apply, or null when the current strategy sends none.Returns the current Cookie header value, or null when the current strategy sends none.
-
Field Details
-
ESSBASE_NETWORK_LOGGING
- See Also:
-
-
Constructor Details
-
ApiClientFactory
-
ApiClientFactory
- Parameters:
stateless- true to send the username and password on every request rather than establishing a session - equivalent toEssAuthentication.basic(java.lang.String, java.lang.String)
-
ApiClientFactory
Builds clients that authenticate however the given strategy says to, which need not involve a username and password at all - seeEssAuthentication.
-
-
Method Details
-
create
public com.appliedolap.essbase.client.ApiClient create() -
currentAuthorizationHeader
Returns the current Authorization header value, matching what the request interceptor would apply, or null when the current strategy sends none. Useful for download-bypass code that constructs rawHttpRequests. -
currentCookieHeader
Returns the current Cookie header value, or null when the current strategy sends none. Pairs withcurrentAuthorizationHeader()for download bypass paths.
-