context.declareVariable(SessionModule.PREFIX + ":session", reqw.getSession(false));
//enable EXQuery Request Module (if present)
try {
if(xqueryContextExqueryRequestAttribute != null && cstrHttpServletRequestAdapter != null) {
final Object exqueryRequestAdapter = cstrHttpServletRequestAdapter.newInstance(request, new FilterInputStreamCacheConfiguration(){
@Override
public String getCacheClass() {
return (String)context.getBroker().getConfiguration().getProperty(Configuration.BINARY_CACHE_CLASS_PROPERTY);
}
});