title: Set Cookie in HttpServletRequest
body: <p>is there any way to add cookie to HttpServletRequest</p>
  
  <p>Please help me..</p>
  
  <p>i have tried this. but its not working</p>
  
  <pre><code>   HttpServletRequest request = (HttpServletRequest) servletRequest;
      HttpServletResponse response = (HttpServletResponse) servletResponse;
      String cookie =   request.getHeader(HttpHeader.AUTHORIZATION.asString());
      HttpRequest httpRequest = new HttpRequest().setRequest(request);
      String authCookie = String.format("%s=%s", session_id, cookie );
      ServletRequest clientRequest = httpRequest.getRequest();
       httpRequest.setCookies(authCookie );
  </code></pre>