Basically I was just trying to understand the documentation I quoted; I'd been led there whilst looking for some way to serve a static resource from a less complicated URL. I have not found any documentation of how to actually use ConditionalServlet - your response below tells me that I can do whatever I like, but doesn't give enough information for me to be able to work out *how* to do it.

On 15/11/2016 21:45, David Leangen wrote:

Hi Tim,

You just need a class that implements ConditionalServlet, and register it (for example) using DS.

By following the ConditionalServlet algorithm, you should be able to accomplish anything you need to do.


It may be easier if you have more specific questions. What are you trying to accomplish?

Cheers,
=David


On Nov 16, 2016, at 12:52 AM, Tim Ward <t...@telensa.com <mailto:t...@telensa.com>> wrote:

In

https://github.com/osgi/osgi.enroute.bundles/tree/master/osgi.enroute.web.simple.provider

it says

"By adding, removing, and reordering |ConditionalServlet|s, you can gain unlimited control of what happens on the root path."

How, exactly? - what does one actually *do* to "add" (eg) a ConditionalServlet?

--
Tim Ward
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org>
https://mail.osgi.org/mailman/listinfo/osgi-dev



_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev


--
Tim Ward

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to