[undertow-dev] How to Access ServletContext?

Ari King ari.brandeis.king at gmail.com
Fri Aug 7 17:53:00 EDT 2015


I've embedded Undertow into a Resteasy (JAX-RS) app. One of the libraries
I'm using requires a servlet context attribute to be set. How can/should I
go about doing so?

If I should use a ServletExtension, to clarify, I need to create a file
named "io.undertow.servlet.ServletExtension" and put it in the
"META-INF/services/" directory?

Within the above mentioned file do I need to provide the fully qualified
name of the implementation class?

Thanks.

Best,
Ari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20150807/9c8f5001/attachment-0001.html 


More information about the undertow-dev mailing list