use of org.apache.felix.http.base.internal.handler.HttpSessionWrapper in project felix by apache.
the class WhiteboardManager method sessionDestroyed.
public void sessionDestroyed(@Nonnull final HttpSession session, final Set<String> contextNames) {
for (final String contextName : contextNames) {
final WhiteboardContextHandler handler = this.getContextHandler(contextName);
if (handler != null) {
final ExtServletContext context = handler.getServletContext(this.httpBundleContext.getBundle());
new HttpSessionWrapper(session, context, true).invalidate();
handler.ungetServletContext(this.httpBundleContext.getBundle());
}
}
}
Aggregations