public abstract class AbstractRequest extends Object implements DispatchRequest
Modifier and Type | Field and Description |
---|---|
static String |
FORCE_INCLUDE_ATTRIBUTE_NAME
Name of the attribute used to store the force-include option.
|
APPLICATION_SCOPE, REQUEST_SCOPE
Constructor and Description |
---|
AbstractRequest() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isForceInclude()
Checks if, when dispatching to a resource, the result must be included
and not forwarded to.
|
protected void |
setForceInclude(boolean forceInclude)
Sets the flag to force inclusion at next dispatch.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispatch, include, setContentType
getApplicationContext, getAvailableScopes, getContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getPrintWriter, getRequestLocale, getResponseHeaders, getWriter, isResponseCommitted, isUserInRole
public static final String FORCE_INCLUDE_ATTRIBUTE_NAME
protected void setForceInclude(boolean forceInclude)
forceInclude
- true
means that, at the next dispatch, response
will be included and never forwarded.protected boolean isForceInclude()
true
if inclusion is forced.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.