public class AbstractViewRequest extends DispatchRequestWrapper
dispatch(String) will cause an inclusion and never a forward.FORCE_INCLUDE_ATTRIBUTE_NAMEAPPLICATION_SCOPE, REQUEST_SCOPE| Constructor and Description | 
|---|
| AbstractViewRequest(DispatchRequest request)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dispatch(String path)Dispatches the request to a specified path. | 
| protected void | doInclude(String path)Includes the result. | 
| void | include(String path)Includes the response from the specified URL in the current response output. | 
getApplicationContext, getAvailableScopes, getContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getPrintWriter, getRequestLocale, getResponseHeaders, getWrappedRequest, getWriter, isResponseCommitted, isUserInRole, setContentTypeisForceInclude, setForceIncludepublic AbstractViewRequest(DispatchRequest request)
request - The base request.public void dispatch(String path) throws IOException
DispatchRequestWrapperdispatch in interface DispatchRequestdispatch in class DispatchRequestWrapperpath - The path to dispatch to.IOException - If something goes wrong during dispatching.public void include(String path) throws IOException
DispatchRequestWrapperinclude in interface DispatchRequestinclude in class DispatchRequestWrapperpath - The path to include.IOException - If something goes wrong during inclusion.protected void doInclude(String path) throws IOException
path - The path whose result will be included.IOException - If something goes wrong.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.