Package com.vaadin.browserless.internal
Class SessionObjects
-
- All Implemented Interfaces:
public final class SessionObjectsHolds the objects created during session initialization, before they are installed as thread-locals. Used by MockVaadin.createSessionObjects to allow callers (e.g. multi-user context) to manage thread-locals themselves.
-
-
Field Summary
Fields Modifier and Type Field Description private final VaadinSessionsessionprivate final VaadinRequestrequestprivate final VaadinResponseresponseprivate final MockHttpSessionhttpSession
-
Constructor Summary
Constructors Constructor Description SessionObjects(VaadinSession session, VaadinRequest request, VaadinResponse response, MockHttpSession httpSession)
-
Method Summary
Modifier and Type Method Description final VaadinSessiongetSession()final VaadinRequestgetRequest()final VaadinResponsegetResponse()final MockHttpSessiongetHttpSession()-
-
Constructor Detail
-
SessionObjects
SessionObjects(VaadinSession session, VaadinRequest request, VaadinResponse response, MockHttpSession httpSession)
-
-
Method Detail
-
getSession
final VaadinSession getSession()
-
getRequest
final VaadinRequest getRequest()
-
getResponse
final VaadinResponse getResponse()
-
getHttpSession
final MockHttpSession getHttpSession()
-
-
-
-