Utility class to manage the dispatching parsing of the path. The methods fill the exchange, request and response with the needed data for the dispatch.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static String | assignRequestPath(final String path, final HttpServletRequestImpl requestImpl, final ServletContextImpl servletContext, final boolean include)
|
| public static ServletPathMatch | Returns: The match for the pathThe path to include scoped to the ServletContext path, final HttpServletRequestImpl The request requestImpl, final HttpServletResponseImpl The response responseImpl, final ServletContextImpl The servlet context servletContext)Perform an async dispatch to a path assigning everything needed to the request, response and exchange. |
| public static ServletPathMatch | Returns: The match for the pathThe path to forward scoped to the ServletContext path, final String The servlet name servletName, final Throwable The exception for the error exception, final String The error message message, final HttpServletRequestImpl The request requestImpl, final HttpServletResponseImpl The response responseImpl, final ServletContextImpl The servlet context servletContext)Perform a error dispatch to a path assigning everything needed to the request, response and exchange. |
| public static ServletPathMatch | Returns: The match for the pathThe path to forward scoped to the ServletContext path, final HttpServletRequestImpl The request requestImpl, final HttpServletResponseImpl The response responseImpl, final ServletContextImpl The servlet context servletContext)Perform a forward dispatch to a path assigning everything needed to the request, response and exchange. |
| public static ServletPathMatch | Returns: The match for the pathThe path to include scoped to the ServletContext path, final HttpServletRequestImpl The request requestImpl, final HttpServletResponseImpl The response responseImpl, final ServletContextImpl The servlet context servletContext)Perform an include dispatch to a path assigning everything needed to the request, response and exchange. |
| private static Map |
| DispatchUtils | back to summary |
|---|---|
| private DispatchUtils() | |
| assignRequestPath | back to summary |
|---|---|
| private static String assignRequestPath(final String path, final HttpServletRequestImpl requestImpl, final ServletContextImpl servletContext, final boolean include) throws ParameterLimitException | |
| dispatchAsync | back to summary |
|---|---|
| public static ServletPathMatch dispatchAsync(final String path, final HttpServletRequestImpl requestImpl, final HttpServletResponseImpl responseImpl, final ServletContextImpl servletContext) throws ParameterLimitException Perform an async dispatch to a path assigning everything needed to the request, response and exchange.
| |
| dispatchError | back to summary |
|---|---|
| public static ServletPathMatch dispatchError(final String path, final String servletName, final Throwable exception, final String message, final HttpServletRequestImpl requestImpl, final HttpServletResponseImpl responseImpl, final ServletContextImpl servletContext) throws ParameterLimitException Perform a error dispatch to a path assigning everything needed to the request, response and exchange.
| |
| dispatchForward | back to summary |
|---|---|
| public static ServletPathMatch dispatchForward(final String path, final HttpServletRequestImpl requestImpl, final HttpServletResponseImpl responseImpl, final ServletContextImpl servletContext) throws ParameterLimitException Perform a forward dispatch to a path assigning everything needed to the request, response and exchange.
| |
| dispatchInclude | back to summary |
|---|---|
| public static ServletPathMatch dispatchInclude(final String path, final HttpServletRequestImpl requestImpl, final HttpServletResponseImpl responseImpl, final ServletContextImpl servletContext) throws ParameterLimitException Perform an include dispatch to a path assigning everything needed to the request, response and exchange.
| |
| mergeQueryParameters | back to summary |
|---|---|
| private static Map | |