atom feed16 messages in net.java.dev.jersey.users[Jersey] modifying jersey client requ...
FromSent OnAttachments
Zoltan Arnold NAGYOct 7, 2009 8:05 am 
Felipe GauchoOct 7, 2009 8:36 am 
Paul SandozOct 7, 2009 8:46 am 
Zoltan Arnold NAGYOct 8, 2009 1:34 pm 
Craig McClanahanOct 8, 2009 2:55 pm 
Zoltan Arnold NAGYOct 9, 2009 1:13 am 
Paul SandozOct 9, 2009 1:18 am 
Zoltan Arnold NAGYOct 9, 2009 1:27 am 
Paul SandozOct 9, 2009 1:40 am 
Zoltan Arnold NAGYOct 13, 2009 7:30 am 
Paul SandozOct 13, 2009 10:52 am 
Zoltan Arnold NAGYOct 13, 2009 2:08 pm 
Paul SandozOct 14, 2009 1:58 am 
Zoltan Arnold NAGYOct 14, 2009 5:37 am 
Paul SandozOct 14, 2009 5:46 am 
Zoltan Arnold NAGYOct 14, 2009 5:55 am 
Subject:[Jersey] modifying jersey client requests
From:Zoltan Arnold NAGY (Zolt@Sun.COM)
Date:Oct 7, 2009 8:05:43 am
List:net.java.dev.jersey.users

Hey,

Is it possible to somehow attach a "post-processor" to a WebResource?

I'd like to use add a header containing a hash based on the actual content of the request. (For that, I need the raw request, too, inside that processor).

So when I use .put on the request, I'd need jersey to call this postprocessor before sending the http request, but after it's done with the serialization work.

Services such as Amazon requires you to calculate a hash based on the request and your private key, and add it to a header, that's what I need this functionality for.

Thanks, Zoltan

__________ Information from ESET Smart Security, version of virus signature
database 4487 (20091007) __________

The message was checked by ESET Smart Security.

http://www.eset.com