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

Custom Interceptor

$
0
0
Hello,

I'd like to do search'n'replace on outgoing HTTP requests. I am trying to do
this with an Interceptor. I managed to bind my own Interceptor to the
PRE_STREAM phase, but then I am stuck at replacing message content. I've
studied the LoggingOutInterceptor but it's too complicated and I don't get
how it works.

Is there a simpler piece of code which I could take as an example? Are
Interceptors the right tool for the Job?

Using CXF 2.6.6

Thanx for your help,
Gérald

Viewing all articles
Browse latest Browse all 5648

Trending Articles