As XMLA responses are verbose and can become very large, I think it is important that OLAP4J supports HTTP gzip encoding. Activating gzip encoding on servers like Tomcat takes 1mn, and implementing support for it in Olap4J is also a simple task:
Olap4J would have to expose the following HTTP header line to tell it supports GZip encoding:
Accept-Encoding: gzip
Then the server will send compressed HTTP payloads, that can be uncompressed with a GZipInputStream.
Sounds reasonable. Can someone contribute a patch.
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Feature Requests"
We have done that before for a customer project:
Edit XmlaOlap4jHttpProxy.getResponse(URL url, String request):
Where the request properties are set add:
And then just before the response is read add:
Fixed in
https://github.com/olap4j/olap4j/commit/d01460d9408a6a8f7267d54172e5e276bbaf1924
Thanks for the patch!