[undertow-dev] Top level access to servlet request

Stuart Douglas sdouglas at redhat.com
Sun Jul 10 20:03:58 EDT 2016


No, in Undertow these are not created until the request has actually
been delegated to a Servlet context (as it is possible for requests to
not be using Servlet at all).

What are you trying to do? There is probably a way to do it using
native Undertow handlers.

Stuart

On Sat, Jul 9, 2016 at 1:59 AM, Jack Ding <z29ding at uwaterloo.ca> wrote:
> Hi,
>
> Is there a method or workaround that would allow the the initial level
> Handler (e.g., PathHandler) for an undertow server access HttpServletRequest
> and HttpServletResponse? I am trying to switch our server from Embedded
> Jetty, in which the initial handler does some processing using the
> HttpServletRequest and Response before matching and delegating to the
> appropriate ServletContextHandler, however in Undertow it seems these are
> not created (via ServletRequestContext) until after the matching.
>
>
> Thank you,
>
>
> Jack
>
>
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev


More information about the undertow-dev mailing list