Package ratpack.session.store

Examples of ratpack.session.store.SessionStorage


  protected void registerUserProfile(final Context context, UserProfile userProfile) {
    context.getRequest().add(userProfile).add(UserProfile.class, userProfile);
  }

  protected void removeUserProfile(final Context context) {
    final SessionStorage sessionStorage = context.getRequest().get(SessionStorage.class);
    sessionStorage.remove(SessionConstants.USER_PROFILE);
  }
View Full Code Here

TOP

Related Classes of ratpack.session.store.SessionStorage

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.