Class MockHttpSession

java.lang.Object
org.springframework.mock.web.MockHttpSession
All Implemented Interfaces:
HttpSession

public class MockHttpSession extends Object implements HttpSession
Mock implementation of the HttpSession interface.

As of Spring 5.0, this set of mocks is designed on a Servlet 4.0 baseline.

Since:
1.0.2
Author:
Juergen Hoeller, Rod Johnson, Mark Fisher, Sam Brannen, Vedran Pavic