org.camunda.bpm.webapp.plugin.resource
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
 InputStream filterResource(InputStream inputStream, RequestInfo requestInfo)
          Invoked after a static plugin resource has been resolved.
 

Method Detail

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.

Parameters:
inputStream - the content of the resource
requestInfo - contains information about the request.
Returns:
the original input stream or a modified input stream or null to remove the resource.


Copyright © 2018 camunda services GmbH. All rights reserved.