String transportName = _allowedTransports.get(i);
ServerTransport serverTransport = getTransport(transportName);
if (serverTransport instanceof AbstractHttpTransport)
{
AbstractHttpTransport transport = (AbstractHttpTransport)serverTransport;
if (transport.accept(request))
return transport;
}
}
return null;
}