controllers.SessionController Maven / Gradle / Ivy
package controllers;
import io.mangoo.routing.Response;
import io.mangoo.routing.bindings.Session;
public class SessionController {
public Response session(Session session) {
session.put("foo", "this is a session value");
return Response.ok();
}
public Response valued(String uuid, Session session) {
session.put("uuid", uuid);
return Response.ok();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy