Class StandardSessionAccessor
java.lang.Object
org.apache.catalina.session.StandardSessionAccessor
- All Implemented Interfaces:
- HttpSession.Accessor
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaccess(Consumer<HttpSession> sessionConsumer) Call to access the session with the same semantics as if the session was accessed during an HTTP request.
- 
Constructor Details- 
StandardSessionAccessor
 
- 
- 
Method Details- 
accessDescription copied from interface:jakarta.servlet.http.HttpSession.AccessorCall to access the session with the same semantics as if the session was accessed during an HTTP request.The effect of this call on the session is as if an HTTP request starts; Consumer.accept(Object)is called with the associated session object enabling the application to interact with the session; and, once that method returns, the HTTP request ends.- Specified by:
- accessin interface- HttpSession.Accessor
- Parameters:
- sessionConsumer- the application provided- Consumerinstance that will access the session
 
 
-