[undertow-dev] Help Configuring Handlers
Ari King
ari.brandeis.king at gmail.com
Thu Mar 6 11:45:53 EST 2014
>
> There can only be one root handler. Basically handlers chain together, so
> the current handler picks the next handler (or generates a response).
> It sounds like what you want to do is map the JAX-RS handlers to the root
> of the servlet deployment, and then use a path handler with the servlet
> deployment under /api and the resource handler under /.
>
Yes, that was exactly what I was intending/attempting to do.
Alternatively you just set the Servlet deployment's ResourceManager and
> then the resources will just be served up by the DefaultServlet.
>
>From the docs I know the "ResourceManager" is a built in handler, but is
there more information on it or an example of how to set it?
Thanks.
-Ari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20140306/2e6f8aef/attachment-0001.html
More information about the undertow-dev
mailing list