ok.. thx ! work now !
On Wed, Dec 9, 2009 at 5:58 PM, Thierry Boileau <[email protected]
> wrote:
> Hi kiwi,
>
> the gzip encoding of the entity is available via the "Encoder" filter.
> For example, when declaring your application:
> public Restlet createInboundRoot() {
> Router router = new Router(getContext());
> router.attachDefault(HelloWorldResource.class);
> [...]
>
> Filter filter = new Encoder(getContext());
> filter.setNext(router);
> return filter;
> }
>
> It will encode the provided entity according to the client's preferences.
>
> Best regards,
> Thierry Boileau
>
> > hi,
> >
> > I just setup a rest app that use Netty as front end.
> >
> > however, it seem like is not g-zip enabled by default.
> >
> > how can i configure it and test it out ?
> >
> > kiwi
> > ----
> > happy hacking !
> >
> > ------------------------------------------------------
> >
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2427753
> >
> >
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2428801
>
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2428821