Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

JAX-RS: Access to message body in WriterInterceptor or ClientRequestFilter

$
0
0
Hi,

how can I acess (read) the message body in a WriterInterceptor or
ClientRequestFilter (not sure whats best for my use case)?

Basically what I'd like to do is calculate some kind of checksum or
signature over the message and store it in a Header. For that I need access
to the message body.

cheers,
Frizz

Viewing all articles
Browse latest Browse all 5648

Trending Articles