title: GWT - RemoteService interface and Spring - how to get HttpSession?
body: <p>I am using GWT (2.5) with RPC, Spring and Postgresql for my project.  My issue is about HttpSession handling . 
  All queries to server are dispatched by Spring  (DispatchServlet) to my GwtController  (extends  RemoteServiceServlet) . 
  The particular RemoteService is injected in the GwtController . It is easy to get the HttpSession inside the GwtContorller. 
  In example by getThreadLocalRequest().getSession() or just from request.getSession(). 
  My question is how to get HttpSession object inside the RemoteService ?</p>
  
  <pre><code>public class GwtRpcController extends RemoteServiceServlet {
  ……………
  private RemoteService remoteService;
  private Class remoteServiceClass;
  ………………
  
  public ModelAndView handleRequest(HttpServletRequest arg0, HttpServletResponse arg1) throws Exception {
      …………
  } 
  
  public String processCall(String payload) throws SerializationException {
      …………
  }
  
  public void setRemoteService(RemoteService remoteService) {
      …………….
  }
  
  }
  </code></pre>
  
  <p>My Interface - DataService which implements RemoteService</p>
  
  <pre><code>public class DataServiceImpl implements DataService {
  
  public Data getData(){
  
      !!!!! Here I want to get HttpSession !!!!!
      …………………………
  
  }
  
  }
  </code></pre>