Hi,

you'll find plenty of samples at the Pax-Web GitHub project. [1]
If you want to use the HttpService as you've done before, you'll just need
to register a compression filter as I've send you before. [2]
You'll find a sample on how to register filters with Pax-Web at [3].
Another way of using filters is to use a WAB [4]. There you need to
register your compression filter also, as JB mentioned first.
There is nothing directly to be configured for Jetty.

regards, Achim

[1] - https://github.com/ops4j/org.ops4j.pax.web/tree/master/samples
[2] - http://www.eclipse.org/jetty/documentation/current/gzip-filter.html
[3] -
https://github.com/ops4j/org.ops4j.pax.web/blob/master/samples/helloworld-wc/src/main/java/org/ops4j/pax/web/samples/helloworld/wc/internal/Activator.java#L101
[4] -
https://github.com/ops4j/org.ops4j.pax.web/tree/master/samples/war-spring-osgi



2014/1/3 dayanand <[email protected]>

> Hi All,
>
> Please reply ..... I m really in need
>
> Thanks in Advance
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Compression-in-karaf-tp4030841p4030897.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to