Package com.jedox.palojlib.managers
Class HttpHandlerManager
java.lang.Object
com.jedox.palojlib.managers.HttpHandlerManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSession
(int contextId, String session) int
getContext
(String session) getHttpHandler
(int contextId) get existing httphandler for a certain context and attach the last current session to itgetHttpHandlerInfo
(int context) static HttpHandlerManager
getSession
(int contextId) static String
initialize the httphandler that will be used for a certain ConnectionConfiguartionboolean
isInitialized
(ConnectionConfiguration connectionConfiguration) static void
void
-
Field Details
-
version
- See Also:
-
defaultClient
- See Also:
-
defaultClientDesc
- See Also:
-
-
Constructor Details
-
HttpHandlerManager
public HttpHandlerManager()
-
-
Method Details
-
getInstance
-
getContext
-
getSessionInfoString
-
initHttpHandler
public HttpHandler initHttpHandler(ConnectionConfiguration config) throws PaloException, PaloJException initialize the httphandler that will be used for a certain ConnectionConfiguartion- Parameters:
config
- connection configuration- Returns:
- httphandler for this connection configuration
- Throws:
PaloException
- exception from OLAP serverPaloJException
- exception from the library itself
-
getHttpHandlerInfo
-
getHttpHandler
get existing httphandler for a certain context and attach the last current session to it- Parameters:
contextId
- context of a httpHandlerInfo- Returns:
- httphandler httpHander for a HttpHandlerInfo
- Throws:
PaloException
- exception from OLAP serverPaloJException
- exception from the library itself
-
removeHttpHandler
-
addSession
-
getSession
-
isInitialized
-
main
-