processFeedRequest(request, response);
}
}
private void processFeedRequest(final HttpServletRequest request, final HttpServletResponse response) throws Exception {
LOG.debug("NuGet Feed: " + WebUtil.getRequestDump(request) + "|" + request.getRequestURI());
<BUG>final String requestUrl = String.format("%s://%s:%s", request.getScheme(), request.getServerName(), request.getServerPort());
final NuGetDataSource dataSource = myDataSourceFactory.create(new URI(requestUrl));
final NuGetServiceFactory serviceFactory = new NuGetServiceFactory(dataSource);
request.setAttribute("org.apache.olingo.odata2.service.factory.instance", serviceFactory);
</BUG>
ODataServlet servlet = new ODataServlet();

processFeedRequest(request, response);
}
}
private void processFeedRequest(final HttpServletRequest request, final HttpServletResponse response) throws Exception {
LOG.debug("NuGet Feed: " + WebUtil.getRequestDump(request) + "|" + request.getRequestURI());
request.setAttribute("org.apache.olingo.odata2.service.factory.instance", myServiceFactory);
ODataServlet servlet = new ODataServlet();
