I was looking for some guidance on how i would package a gzipped java
serialized object. Do I need to extend ObjectRepresentation class and
use content type application/gzip or is there some way I can use the
ObjectRepresentation class with some form of encoding.
cheers
/jima
Alateras [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 12 avril 2007 15:19
À : [EMAIL PROTECTED]
Objet : a gzip representation
I was looking for some guidance on how i would package a gzipped java
serialized object. Do I need to extend ObjectRepresentation class and
use content type application/gzip
Jerome Louvel wrote:
Hi Jim,
You can have a look at the
com.noelios.restlet.application.EncodeRepresentation class.
So i can use it to wrap an ObjectRepresentation. Will the Encoding i
pass across to it override the HTTP content-type header (i.e. if the
encoding is set to gzip then the
Hi Jim,
I want to precise that the EncodeRepresentation automatically sets the
content-encoding header and keep intact the content-type of the
wrapped representation.
It allows Firefox to decodes on the fly the gzip stream and restore the
wrapped representation.
If you want to use
4 matches
Mail list logo