Class RequestAttributeMapper
- java.lang.Object
-
- com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
-
- com.atlassian.bamboo.plugin.sitemesh.RequestAttributeMapper
-
- All Implemented Interfaces:
com.opensymphony.module.sitemesh.DecoratorMapper
public class RequestAttributeMapper extends com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
Retrieves decorator basing on HTTP request attribute.- Since:
- v3.3
-
-
Field Summary
Fields Modifier and Type Field Description static String
BAMBOO_SITEMESH_DECORATOR
-
Constructor Summary
Constructors Constructor Description RequestAttributeMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.opensymphony.module.sitemesh.Decorator
getDecorator(javax.servlet.http.HttpServletRequest request, com.opensymphony.module.sitemesh.Page page)
void
init(com.opensymphony.module.sitemesh.Config config, Properties properties, com.opensymphony.module.sitemesh.DecoratorMapper parent)
-
-
-
Field Detail
-
BAMBOO_SITEMESH_DECORATOR
public static final String BAMBOO_SITEMESH_DECORATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(com.opensymphony.module.sitemesh.Config config, Properties properties, com.opensymphony.module.sitemesh.DecoratorMapper parent) throws InstantiationException
- Specified by:
init
in interfacecom.opensymphony.module.sitemesh.DecoratorMapper
- Overrides:
init
in classcom.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
- Throws:
InstantiationException
-
getDecorator
public com.opensymphony.module.sitemesh.Decorator getDecorator(javax.servlet.http.HttpServletRequest request, com.opensymphony.module.sitemesh.Page page)
- Specified by:
getDecorator
in interfacecom.opensymphony.module.sitemesh.DecoratorMapper
- Overrides:
getDecorator
in classcom.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
-
-