context.setData(KEY_CURRENT_RULE, rule);
writePathVarToContext(context, rule.getExtraVarMap());
retrieveFlashScopeData(request);
List<ContentProvider<?>> requestResult = handleRequest(rule);
ContentWriter cw;
for (ContentProvider<?> cp : requestResult) {
cw = (ContentWriter<?>) DeclareInstanceUtil.createInstance(cp.getContentWriter());
cw.writeResponse(rule, response, cp.produce());
}
}