_time = System.currentTimeMillis();
if (_constraints.getCurrentTime() == -1)
_constraints.setCurrentTime(System.currentTimeMillis());
BeanFactoryV2 factory = getBeanFactoryV2();
ItineraryV2BeanFactory itineraryFactory = new ItineraryV2BeanFactory(
factory);
parseSelectedItinerary(itineraryFactory, _includeSelectedItinerary,
_constraints);
ItinerariesBean itineraries = _transitDataService.getItinerariesBetween(
_from, _to, _time, _constraints);
ItinerariesV2Bean bean = itineraryFactory.getItineraries(itineraries);
return setOkResponse(factory.entry(bean));
}