class HttpRequestWrapper extends HttpServletRequestWrapper implements RequestWithSession {

  @Override
  public boolean isRequestedSessionIdFromCookie() {
    retrieveSessionId();
    return retrievedId != null && isRetrievedIdFromCookie;
  }

  public  HttpRequestWrapper(HttpServletRequest req, ServletContext servletContext);

}