Uses of Class
com.vaadin.browserless.mocks.MockHttpSession
Packages that use MockHttpSession
-
Uses of MockHttpSession in com.vaadin.browserless.internal
Methods in com.vaadin.browserless.internal that return MockHttpSessionModifier and TypeMethodDescriptionSessionObjects.getHttpSession()Returns the HTTP session the Vaadin session is stored in.static MockHttpSessionUtils.getMock(VaadinSession session) Retrieves the mock session which backs up givenVaadinSession.Methods in com.vaadin.browserless.internal that return types with arguments of type MockHttpSessionModifier and TypeMethodDescriptionstatic Function<MockHttpSession, MockRequest> MockVaadin.getMockRequestFactory()Returns the factory creating theMockRequestof each session.Methods in com.vaadin.browserless.internal with parameters of type MockHttpSessionModifier and TypeMethodDescriptionSessionObjects.copy(VaadinSession session, VaadinRequest request, VaadinResponse response, MockHttpSession httpSession) Returns a copy of this group with the given objects in place of the current ones.Method parameters in com.vaadin.browserless.internal with type arguments of type MockHttpSessionModifier and TypeMethodDescriptionstatic voidMockVaadin.setMockRequestFactory(Function<MockHttpSession, MockRequest> mockRequestFactory) Sets the factory creating theMockRequestof each session.Constructors in com.vaadin.browserless.internal with parameters of type MockHttpSessionModifierConstructorDescriptionSessionObjects(VaadinSession session, VaadinRequest request, VaadinResponse response, MockHttpSession httpSession) Groups the four objects that make up one mocked user's session. -
Uses of MockHttpSession in com.vaadin.browserless.mocks
Methods in com.vaadin.browserless.mocks that return MockHttpSessionModifier and TypeMethodDescriptionMockHttpSession.copyAttributes(jakarta.servlet.http.HttpSession httpSession) Copies all attributes of the given session into this one, keeping the attributes already present.static MockHttpSessionMockHttpSession.create(jakarta.servlet.ServletContext ctx) Creates a session in the given context, with a fresh sequential id and a 30 second inactive interval.