Yes, I would go with the whiteboard http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html#using-the-whiteboard
Carsten 2014/1/17 Alexander Klimetschek <[email protected]> > On 17.01.2014, at 01:54, Bertrand Delacretaz <[email protected]> > wrote: > > > You might generate the "commands" parameter In a Filter, maybe? At > > least as a workaround until this is fixed in Sling, which might not be > > that simple (I haven't looked in detail). > > If you mean Carsten's proposal of a osgi httpservice-level filter - yes, > that could work. But I'd prefer a sling solution (over time), the necessary > changes would be minimal. > > I found this [1] - either using org.apache.felix.http.api.ExtHttpService > or the whiteboard approach to register filters on this level. Is this the > right way? > > [1] > http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html > > Cheers, > Alex -- Carsten Ziegeler [email protected]
