Interface ResourceRequestExtensionHandler
- All Superinterfaces:
ExtensionHandler
- All Known Implementing Classes:
AbstractResourceRequestExtensionHandler
Provides extension points for dealing with requests for resources
- Author:
- bpolster, apazzolini
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetModifiedResource(String path, ExtensionResultHolder erh) Populates the RESOURCE_ATTR field in the ExtensionResultHolder map with an instance ofResourceif the value of the modified resource.getOverrideResource(String path, ExtensionResultHolder erh) Populates the RESOURCE_ATTR field in the ExtensionResultHolder map with an instance ofResourceif there is an override resource available for the current path.Methods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler
getPriority, isEnabled
-
Field Details
-
RESOURCE_ATTR
- See Also:
-
-
Method Details
-
getModifiedResource
Populates the RESOURCE_ATTR field in the ExtensionResultHolder map with an instance ofResourceif the value of the modified resource.- Parameters:
path-erh-- Returns:
- the
ExtensionResultStatusType
-
getOverrideResource
Populates the RESOURCE_ATTR field in the ExtensionResultHolder map with an instance ofResourceif there is an override resource available for the current path.- Parameters:
path-erh-- Returns:
- the
ExtensionResultStatusType
-