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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
get(XmlaOlap4jServerInfos serverInfos, java.lang.String request)
Sends a request to a URL and returns the response.java.lang.String
getEncodingCharsetName()
Returns the name of the character set use for encoding the XML string.java.util.concurrent.Future<byte[]>
submit(XmlaOlap4jServerInfos serverInfos, java.lang.String request)
Submits a request for background execution.
-
-
-
Method Detail
-
get
byte[] get(XmlaOlap4jServerInfos serverInfos, java.lang.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
java.util.concurrent.Future<byte[]> submit(XmlaOlap4jServerInfos serverInfos, java.lang.String request)
Submits a request for background execution.- Parameters:
serverInfos
- Server infos.request
- Request- Returns:
- Future object representing the submitted job
-
getEncodingCharsetName
java.lang.String getEncodingCharsetName()
Returns the name of the character set use for encoding the XML string.
-
-