Package com.adito.core

Examples of com.adito.core.CookieMap


                      LaunchSession launchSession) throws Exception {

    int maxAge = Property.getPropertyInt(new SystemConfigKey("webForwards.cache.maxUserAge")) * 1000 * 60;
    User user = launchSession.getSession().getUser();
    ContentCache cache = getCache(launchSession.getSession(), user);
    CookieMap cookieMap = getCookieMap(launchSession);

    final RequestProcessor requestProcessor = new RequestProcessor(cache, maxAge, request, launchSession);

    try {

View Full Code Here


   * @return cookie map
   */
  public CookieMap getCookieMap(LaunchSession launchSession) {
    if (log.isDebugEnabled())
      log.debug("Getting cookie map for " + launchSession.getId() + " (" + launchSession.hashCode() + ")");
    CookieMap cookieMap = (CookieMap) launchSession.getAttribute(Constants.ATTR_COOKIE_MAP);
    if (cookieMap == null) {
      if (log.isDebugEnabled())
        log.debug("Creating new cookie map");
      cookieMap = new CookieMap();
      launchSession.setAttribute(Constants.ATTR_COOKIE_MAP, cookieMap);
    }
    return cookieMap;

  }
View Full Code Here

TOP

Related Classes of com.adito.core.CookieMap

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.