Class OlapContext

java.lang.Object
fr.becpg.repo.olap.data.OlapContext
All Implemented Interfaces:
Closeable, AutoCloseable

public class OlapContext extends Object implements Closeable

OlapContext class.

Version:
$Id: $Id
Author:
matthieu
  • Field Details

    • session

      final org.apache.http.impl.client.CloseableHttpClient session
    • currentUser

      final String currentUser
    • authToken

      final String authToken
    • uuid

      final String uuid
  • Constructor Details

    • OlapContext

      public OlapContext(String currentUser, String authToken)

      Constructor for OlapContext.

      Parameters:
      currentUser - a String object.
      authToken - a String object.
  • Method Details

    • getSession

      public org.apache.http.impl.client.CloseableHttpClient getSession()

      Getter for the field session.

      Returns:
      a CloseableHttpClient object.
    • getCurrentUser

      public String getCurrentUser()

      Getter for the field currentUser.

      Returns:
      a String object.
    • getAuthToken

      public String getAuthToken()

      Getter for the field authToken.

      Returns:
      a String object.
    • getUuid

      public String getUuid()

      Getter for the field uuid.

      Returns:
      a String object.
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException