gzip Java/Axis Sample 1
//process user defined headers for information.
Hashtable userHeaderTable =
(Hashtable) msgContext.getProperty(HTTPConstants.REQUEST_HEADERS);
//Adding Accept-Encoding header to the hashtable.
if(userHeaderTable == null){userHeaderTable =
new Hashtable();} userHeaderTable.put("Accept-Encoding", "gzip");