Example usage for Java org.springframework.mock.web MockHttpSession fields, constructors, methods, implement or subclass
The text is from its open source code.
MockHttpSession() Create a new MockHttpSession with a default MockServletContext . | |
MockHttpSession(@Nullable ServletContext servletContext) Create a new MockHttpSession. | |
MockHttpSession(@Nullable ServletContext servletContext, @Nullable String id) Create a new MockHttpSession. |
Object | getAttribute(String name) |
boolean | isInvalid() |
void | putValue(String name, Object value) |
void | setAttribute(String name, @Nullable Object value) |
void | setNew(boolean value) |