Class AbstractResourceRequestExtensionHandler
java.lang.Object
org.broadleafcommerce.common.extension.AbstractExtensionHandler
org.broadleafcommerce.common.web.resource.AbstractResourceRequestExtensionHandler
- All Implemented Interfaces:
ExtensionHandler,ResourceRequestExtensionHandler
public class AbstractResourceRequestExtensionHandler
extends AbstractExtensionHandler
implements ResourceRequestExtensionHandler
-
Field Summary
Fields inherited from class org.broadleafcommerce.common.extension.AbstractExtensionHandler
enabled, priorityFields inherited from interface org.broadleafcommerce.common.web.resource.ResourceRequestExtensionHandler
RESOURCE_ATTR -
Constructor Summary
Constructors -
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 class org.broadleafcommerce.common.extension.AbstractExtensionHandler
getPriority, isEnabled, setEnabled, setPriorityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler
getPriority, isEnabled
-
Constructor Details
-
AbstractResourceRequestExtensionHandler
public AbstractResourceRequestExtensionHandler()
-
-
Method Details
-
getModifiedResource
Description copied from interface:ResourceRequestExtensionHandlerPopulates the RESOURCE_ATTR field in the ExtensionResultHolder map with an instance ofResourceif the value of the modified resource.- Specified by:
getModifiedResourcein interfaceResourceRequestExtensionHandler- Returns:
- the
ExtensionResultStatusType
-
getOverrideResource
Description copied from interface:ResourceRequestExtensionHandlerPopulates the RESOURCE_ATTR field in the ExtensionResultHolder map with an instance ofResourceif there is an override resource available for the current path.- Specified by:
getOverrideResourcein interfaceResourceRequestExtensionHandler- Returns:
- the
ExtensionResultStatusType
-