You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by yann777 <wh...@gmail.com> on 2012/05/10 16:45:31 UTC

Re: CXF and Servlet Filters

Hello,

I am interested in obtaining the ServletRequest at the ResponseHandler level
and it seems to me that this has been answered but could someone clarify
what is meant by :

/As far as ResponseHandler is concerned: have UriInfo or ServletRequest 
injected (as JAX-RS context) /

Cheers,

Yann

--
View this message in context: http://cxf.547215.n5.nabble.com/CXF-and-Servlet-Filters-tp4663662p5700460.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: CXF and Servlet Filters

Posted by Sergey Beryozkin <sb...@gmail.com>.
On 10/05/12 15:45, yann777 wrote:
> Hello,
>
> I am interested in obtaining the ServletRequest at the ResponseHandler level
> and it seems to me that this has been answered but could someone clarify
> what is meant by :
>
> /As far as ResponseHandler is concerned: have UriInfo or ServletRequest
> injected (as JAX-RS context) /
>

Have

@Context ServletContext sc;

field in the response filter

Cheers, Sergey

> Cheers,
>
> Yann
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/CXF-and-Servlet-Filters-tp4663662p5700460.html
> Sent from the cxf-user mailing list archive at Nabble.com.


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com