info.magnolia.context
Class RequestAttributeStrategy
java.lang.Object
info.magnolia.context.RequestAttributeStrategy
- All Implemented Interfaces:
- AttributeStrategy
public class RequestAttributeStrategy
- extends 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 Object getAttribute(String name,
int scope)
- Specified by:
getAttribute
in interface AttributeStrategy
getAttributes
public Map getAttributes(int scope)
- Specified by:
getAttributes
in interface AttributeStrategy
removeAttribute
public void removeAttribute(String name,
int scope)
- Specified by:
removeAttribute
in interface AttributeStrategy
setAttribute
public void setAttribute(String name,
Object value,
int scope)
- Specified by:
setAttribute
in interface AttributeStrategy
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.