Class HttpHandlerManager

java.lang.Object
com.jedox.palojlib.managers.HttpHandlerManager

public class HttpHandlerManager extends Object
  • Field Details

  • Constructor Details

    • HttpHandlerManager

      public HttpHandlerManager()
  • Method Details

    • getInstance

      public static HttpHandlerManager getInstance()
    • getContext

      public int getContext(String session)
    • getSessionInfoString

      public static String getSessionInfoString(ClientInfo info)
    • 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 server
      PaloJException - exception from the library itself
    • getHttpHandlerInfo

      public HttpHandlerInfo getHttpHandlerInfo(int context)
    • getHttpHandler

      public HttpHandler getHttpHandler(int contextId) throws PaloException, PaloJException
      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 server
      PaloJException - exception from the library itself
    • removeHttpHandler

      public void removeHttpHandler(ConnectionConfiguration config)
    • addSession

      public void addSession(int contextId, String session)
    • getSession

      public String getSession(int contextId)
    • isInitialized

      public boolean isInitialized(ConnectionConfiguration connectionConfiguration)
    • main

      public static void main(String[] arg)