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
FieldsFields inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
config, parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.opensymphony.module.sitemesh.DecoratorgetDecorator(jakarta.servlet.http.HttpServletRequest request, com.opensymphony.module.sitemesh.Page page) voidinit(com.opensymphony.module.sitemesh.Config config, Properties properties, com.opensymphony.module.sitemesh.DecoratorMapper parent) Methods inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
getNamedDecorator
-
Field Details
-
BAMBOO_SITEMESH_DECORATOR
- See Also:
-
-
Constructor Details
-
RequestAttributeMapper
public RequestAttributeMapper()
-
-
Method Details
-
init
public void init(com.opensymphony.module.sitemesh.Config config, Properties properties, com.opensymphony.module.sitemesh.DecoratorMapper parent) throws InstantiationException - Specified by:
initin interfacecom.opensymphony.module.sitemesh.DecoratorMapper- Overrides:
initin classcom.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper- Throws:
InstantiationException
-
getDecorator
public com.opensymphony.module.sitemesh.Decorator getDecorator(jakarta.servlet.http.HttpServletRequest request, com.opensymphony.module.sitemesh.Page page) - Specified by:
getDecoratorin interfacecom.opensymphony.module.sitemesh.DecoratorMapper- Overrides:
getDecoratorin classcom.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
-