Class WeldHttpServletRequest

  • All Implemented Interfaces:
    HttpServletRequest, ServletRequest

    public class WeldHttpServletRequest
    extends RealtimeHttpServletRequestWrapper
    An HttpServletRequest wrapper that always delegates every operation to what has been set as the current request.

    This allows Weld to hold on to a single HttpServletRequest instance, which can then be set to point to another HttpServletRequest instance as the current one that the request uses changes.

    This instance changes for example after an authentication module or filter has provided a new HttpServletRequest, or when a dispatch or include is performed.

    Arjan Tijms