{
Map hosts = (Map)list;
list=hosts.get(request.getServerName());
for (int j=0; j<LazyList.size(list); j++)
{
Handler handler = (Handler)LazyList.get(list,j);
handler.handle(target,request, response, dispatch);
if (base_request.isHandled())
return;
}
list=hosts.get("*");
for (int j=0; j<LazyList.size(list); j++)
{
Handler handler = (Handler)LazyList.get(list,j);
handler.handle(target,request, response, dispatch);
if (base_request.isHandled())
return;
}
}
else
{
for (int j=0; j<LazyList.size(list); j++)
{
Handler handler = (Handler)LazyList.get(list,j);
handler.handle(target,request, response, dispatch);
if (base_request.isHandled())
return;
}
}
}