try {
remotePersisId=Md5.getDigestAsString(requestURI+id);
} catch (IOException e) {
throw Caster.toPageException(e);
}
PageContextImpl pc = ThreadUtil.createPageContext(
config,
DevNullOutputStream.DEV_NULL_OUTPUT_STREAM,
"localhost",
requestURI,
"method="+functionName+(cfcPeristent?"&"+ComponentPage.REMOTE_PERSISTENT_ID+"="+remotePersisId:""),
null,
new Pair[]{new Pair<String,Object>("AMF-Forward","true")},
null,
attrs);
pc.setRequestTimeout(999999999999999999L);
pc.setGatewayContext(true);
if(arguments!=null)attrs.setEL(KeyConstants._argumentCollection, arguments);
attrs.setEL("client", "railo-gateway-1-0");
return pc;
}