Undertow filter cannot retrieve servletcontext

9 views
Skip to first unread message

Bernardo Fagalde

unread,
Sep 7, 2021, 9:31:06 AM9/7/21
to WildFly
I have created an undertow web handler (filter) in order to get information from http sesssion, but when accessing to servletcontext it is null:
ServletRequestContext context = exchange.getAttachment(ServletRequestContext.ATTACHMENT_KEY);
Any idea??
Reply all
Reply to author
Forward
0 new messages