Not now.
Undertow simply provides a builder API that another application can use to create the servlet. It was a deliberate design choice, as it fully fits the deployment application into deployment.
We can ultimately add support for this in another module (most likely by snatching the corresponding code from Wildfly), but at the moment it is not high in the list of priorities.
Stuart douglas
source share