AnsweredAssumed Answered

Mapping WebscriptRequest to HttpServletRequest

Question asked by g_rathod on May 29, 2014
Latest reply on May 29, 2014 by kaynezhang
Hi,

I tried below code to map WebscriptRequest to HttpServletRequest but it didnt work.
HttpServletRequest httpReq = ((WebScriptServletRequest) request).getHttpServletRequest(); 

Anybody having idea, how do I cast it to get proper object of HttpServletRequest?
I want to get client IP using HttpServletRequest in my alfresco side webscript.

Outcomes