| javax.servlet.http.HttpServletRequestWrapper org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestImpl
ScopedRequestImpl | public class ScopedRequestImpl extends HttpServletRequestWrapper implements ScopedRequest(Code) | | A wrapper around HttpServletRequest, associated with a given scope-key. All calls to setAttribute,
getAttribute, removeAttribute, etc. are scoped to this object, while most other functionality
delegates to the wrapped HttpServletRequest.
Instances of this class also keep track of their own request-URIs, which are independent of the
wrapped request-URIs.
|
addListenScope | public void addListenScope(Object scopeKey)(Code) | | Adds a scope to "listen" to. This scope will see all request parameters from a ScopedRequest
of the given scope.
|
addParameter | public void addParameter(String name, String value)(Code) | | Add a parameter to the request.
Parameters: name - the parameter name. Parameters: value - the parameter value. |
doForward | public void doForward()(Code) | | |
filterParameterMap | public Map filterParameterMap(Map parameterMap)(Code) | | |
getAttribute | final public Object getAttribute(String attrName, boolean allowOuterRequestAttributes)(Code) | | |
getAttributeMap | public Map getAttributeMap()(Code) | | Get the current map of request attributes.
|
getListenScopeParameter | public String getListenScopeParameter(String paramName)(Code) | | Get the parameter from the listen scoped requests
Parameters: paramName - value of the parameter |
getLocalParameter | public String getLocalParameter(String paramName)(Code) | | Get the parameter from the scoped request only (don't check in listen scoped requests)
Parameters: paramName - value of the parameter |
getParameterMap | public Map getParameterMap()(Code) | | |
getRequestedSessionId | public String getRequestedSessionId()(Code) | | |
hasListenScopes | public boolean hasListenScopes()(Code) | | see if this scoped request is listening to any other scoped request
true if has listen scopes |
registerOuterAttribute | public void registerOuterAttribute(String attrName)(Code) | | |
removeAttribute | final public void removeAttribute(String attrName)(Code) | | |
renameScope | public void renameScope(Object newScopeKey)(Code) | | |
setActiveRequest | public void setActiveRequest()(Code) | | Makes this request listen to specially-prefixed request parameters.
|
setAttributeMap | public void setAttributeMap(Map savedAttrs)(Code) | | Set/merge the map of request attributes from a given map.
Do not call this method with a null Map.
Parameters: savedAttrs - the Map of attributes to set or merge withthe current map of request attributes |
setForwardedURI | public void setForwardedURI(String uri)(Code) | | Simply stores the URI that was being forwarded to.
Parameters: uri - |
|
|