Package org.olap4j.driver.xmla.proxy
Interface XmlaOlap4jProxy
- All Known Subinterfaces:
XmlaOlap4jCachedProxy
- All Known Implementing Classes:
XmlaOlap4jHttpProxy
public interface XmlaOlap4jProxy
Defines a common set of methods for proxy objects.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
get
(XmlaOlap4jServerInfos serverInfos, String request) Sends a request to a URL and returns the response.Returns the name of the character set use for encoding the XML string.Future<byte[]>
submit
(XmlaOlap4jServerInfos serverInfos, String request) Submits a request for background execution.
-
Method Details
-
get
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
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.
-