info.magnolia.context
Class RequestAttributeStrategy
java.lang.Object
info.magnolia.context.RequestAttributeStrategy
- All Implemented Interfaces:
- AttributeStrategy
public class RequestAttributeStrategy
- extends java.lang.Object
- implements AttributeStrategy
An AttributeStrategy which delegates to the given WebContext's request.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestAttributeStrategy
public RequestAttributeStrategy(WebContext ctx)
getRequest
public javax.servlet.http.HttpServletRequest getRequest()
getAttribute
public java.lang.Object getAttribute(java.lang.String name,
int scope)
- Specified by:
getAttribute
in interface AttributeStrategy
getAttributes
public java.util.Map getAttributes(int scope)
- Specified by:
getAttributes
in interface AttributeStrategy
removeAttribute
public void removeAttribute(java.lang.String name,
int scope)
- Specified by:
removeAttribute
in interface AttributeStrategy
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value,
int scope)
- Specified by:
setAttribute
in interface AttributeStrategy
Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.