Package ddf.catalog.plugin
Interface PostResourcePlugin
public interface PostResourcePlugin
The PostResourcePlugin is executed after a getResource operation has completed.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionprocess(ResourceResponse input) Processes aResourceResponseafter the execution of a getResource operation.
-
Method Details
-
process
ResourceResponse process(ResourceResponse input) throws PluginExecutionException, StopProcessingException Processes aResourceResponseafter the execution of a getResource operation.- Parameters:
input- theResourceResponseto process- Returns:
- the value of the processed
ResourceResponseto pass to the nextPostResourcePlugin, or if this is the lastPostResourcePluginto be called - Throws:
PluginExecutionException- thrown when an error occurs while processing theResourceResponseStopProcessingException- thrown to halt processing when a critical issue occurs during processing. This is intended to prevent other plugins from processing as well.
-