I think I figured it out. In case this helps anyone else, I'm not sure if I'm
doing things the right way but here goes...
need to do the following:
s00pa wrote:
>
> ClientInfo clientInfo = clientResource.getClientInfo();
> List<Preference<Encoding>> preflist =
> clientInfo.getAcceptedEncodings();
> preflist.add(new Preference<Encoding>(Encoding.GZIP));
>
Decoder decoder = new Decoder(client.getContext(), false, true);
decoder.setNext(client);
clientResource.setNext (decoder);
s00pa wrote:
>
> SomeResource sr =
> clientResource.getChild("/someresource/",SomeResource.class);
>
--
Sean
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/client-side-gzip-decoding-tp6884740p6923970.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2862206