if (_sipServletMappings != null)
{
for (int i = 0; i < _sipServletMappings.length; i++)
{
SipServletMapping mapping = _sipServletMappings[i];
if (mapping.getMatchingRule().matches(request))
return (SipServletHolder) _sipServletNameMap.get(mapping.getServletName());
}
}
return null;
}