That's exactly what I needed, thanks for the help!
-Chris W.
-Original Message-
From: Willem Jiang [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2008 7:00 PM
To: users@cxf.apache.org
Subject: Re: How to access HTTP request/responce from interceptor?
You can ge
to access HTTP request/responce from interceptor?
I actually looked at the source code for LogginInInterceptor to get my
answer:
@SuppressWarnings("unchecked")
Map > headers = (Map >)
message.get(Message.PROTOCOL_HEADERS);
message would be helpful,
I have not learned too much yet reading the source of existing
interceptors...
-Original Message-
From: Wolf, Chris (IT)
Sent: Monday, June 23, 2008 5:57 PM
To: users@cxf.apache.org
Subject: RE: How to access HTTP request/responce from interceptor?
I actually looked
:
headers.entrySet())
System.out.println(header.getKey() + " : " +
header.getValue().get(0));
Thanks,
-Chris W.
-Original Message-
From: Wolf, Chris (IT)
Sent: Monday, June 23, 2008 5:24 PM
To: users@cxf.apache.org
Subject: How to access HTTP request/responce from intercepto
I read the docs, and only found this:
http://cwiki.apache.org/CXF20DOC/servlet-transport.html#ServletTransport
-AccessingtheMessageContextand%2ForHTTPRequestandResponse
However, I would like to access the the HTTP request object from my
subclass of
AbstractPhaseInterceptor - how would I do tha