Liferay Freemaker: how to get Request object in template?
<p>I am using Liferay 6.2 and freemaker for web content templates. I need to get request object in template. When I try to use <code>${Request.getRequest()}</code>  it throws error <code>Expression Request is undefined</code>. 
Full code here</p>

<pre><code>&lt;#assign userService=utilLocator.findUtil('my-portlets', org.test.service.UserService')&gt;
 &lt;#if userService.isUser(Request.getRequest())&gt;
     &lt;h1&gt;is User&lt;/h1&gt;
 &lt;/#if&gt;
</code></pre>

<p>My handling method for userService</p>

<pre><code>public Boolean isUser(HttpServletRequest request) {
    //some logic
    return true;
}        
</code></pre>

<p>How I can get Request object in freemaket ftl template?</p>