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.
Daniel Meyer
  • Method Details

    • filterResource

      InputStream filterResource(InputStream inputStream, RequestInfo requestInfo)
      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.
      inputStream - the content of the resource
      requestInfo - contains information about the request.
      the original input stream or a modified input stream or null to remove the resource.