Interface XmlaOlap4jProxy

All Known Subinterfaces:
XmlaOlap4jCachedProxy
All Known Implementing Classes:
XmlaOlap4jHttpProxy

public interface XmlaOlap4jProxy
Defines a common set of methods for proxy objects.
  • Method Details

    • get

      byte[] get(XmlaOlap4jServerInfos serverInfos, String request) throws XmlaOlap4jProxyException
      Sends a request to a URL and returns the response.
      Parameters:
      serverInfos - Server infos.
      request - Request string
      Returns:
      Response The byte array that contains the whole response from the server.
      Throws:
      XmlaOlap4jProxyException - If anything occurs during the request execution.
    • submit

      Future<byte[]> submit(XmlaOlap4jServerInfos serverInfos, String request)
      Submits a request for background execution.
      Parameters:
      serverInfos - Server infos.
      request - Request
      Returns:
      Future object representing the submitted job
    • getEncodingCharsetName

      String getEncodingCharsetName()
      Returns the name of the character set use for encoding the XML string.