Class DispatchedHttpServletRequest

All Implemented Interfaces:
HttpServletRequest, ServletRequest

public class DispatchedHttpServletRequest extends HttpServletRequestWrapper
Wrapper around a jakarta.servlet.http.HttpServletRequest that transforms an application request object (which might be the original one passed to a servlet.
Author:
Bongjae Chang
  • Field Details

    • context

      protected WebappContext context
      The context for this request.
    • contextPath

      protected String contextPath
      The context path for this request.
    • crossContext

      protected boolean crossContext
      If this request is cross context, since this changes session access behavior.
    • dispatcherType

      protected final DispatcherType dispatcherType
      The dispatcher type.
    • pathInfo

      protected String pathInfo
      The path information for this request.
    • queryString

      protected String queryString
      The query string for this request.
    • requestDispatcherPath

      protected Object requestDispatcherPath
      The current request dispatcher path.
    • requestURI

      protected String requestURI
      The request URI for this request.
    • servletPath

      protected String servletPath
      The servlet path for this request.
  • Constructor Details

    • DispatchedHttpServletRequest

      public DispatchedHttpServletRequest(HttpServletRequest request, WebappContext context, boolean crossContext, DispatcherType dispatcherType)
      Construct a new wrapped request around the specified servlet request.
      Parameters:
      request - the servlet request being wrapped
      dispatcherType - the dispatcher type
  • Method Details