// Yes, calling RequestCycle#setRequest() is frowned upon so this is a bit of a hack.
((RequestCycle)requestCycle).setRequest(new MergedRequest(origRequest));
for(ResourceReference ref : this.resources)
{
ResourceRequestHandler handler = new ResourceRequestHandler(
ref.getResource(),
this.pageParameters);
handler.respond(requestCycle);
// If first resource sent 304 Not Modified that means all will.
// We can therefore skip the rest.
if(304 == merged.status)
{