Interface PluginResourceOverride
public interface PluginResourceOverride
Used to replace a plugin resource. An implementation of this interface
may conditionally replace the content of another plugin's static resource
with it's own content.
- Author:
- Daniel Meyer
-
Method Summary
Modifier and TypeMethodDescriptionfilterResource
(InputStream inputStream, RequestInfo requestInfo) Invoked after a static plugin resource has been resolved.
-
Method Details
-
filterResource
Invoked after a static plugin resource has been resolved. If the implementation decides not to modify the resource, it must return the original input stream passed in as parameter.- Parameters:
inputStream
- the content of the resourcerequestInfo
- contains information about the request.- Returns:
- the original input stream or a modified input stream or null to remove the resource.
-