/** * Adds values to the session. * * @param values A map with values to add to this result's session * @return A copy of this result with values added to its session scope. */ public Result addingToSession(Http.Request request, Map<String, String> values) { return withSession(session(request).adding(values)); }
/** * Adds values to the session. * * @param values A map with values to add to this result's session * @return A copy of this result with values added to its session scope. */ public Result addingToSession(Http.Request request, Map<String, String> values) { return withSession(session(request).adding(values)); }
/** * Removes values from the session. * * @param keys Keys to remove from session * @return A copy of this result with keys removed from its session scope. */ public Result removingFromSession(Http.Request request, String... keys) { return withSession(session(request).removing(keys)); }
/** * Removes values from the session. * * @param keys Keys to remove from session * @return A copy of this result with keys removed from its session scope. */ public Result removingFromSession(Http.Request request, String... keys) { return withSession(session(request).removing(keys)); }
/** * Adds values to the session. * * @param values A map with values to add to this result's session * @return A copy of this result with values added to its session scope. */ public Result addingToSession(Http.Request request, Map<String, String> values) { return withSession(session(request).adding(values)); }
/** * Removes values from the session. * * @param keys Keys to remove from session * @return A copy of this result with keys removed from its session scope. */ public Result removingFromSession(Http.Request request, String... keys) { return withSession(session(request).removing(keys)); }