This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Description
Sometimes a web application may wish to access resources provided through osgi.enroute.web.simple.provider directly in Java code for e.g. server-side rendering using nashorn. Currently afaict the only way to do this is to reimplement or hook-into the WebresourceServlet, or to resolve indirectly through the web server via URL which imo is unnecessarily complex and requires a little extra information.
It would be nice if there were a prototype-scoped service which provided all the resources available to a bundle via some sort of simple getWebResource(String glob) method.
If you agree this would be useful I'd be more than happy to PR.
Edit: I'm aware that there's a RFC and RFP for this but they look very early stages so I assume this is still a relevant reference for them and place to explore design...