public interface IPluginServletAction extends IFCPlugin
Assuming FORMCYCLE runs on the URL https://example.com/formcycle, the URL to a servlet plugin looks as
follows:
http://example.com/formcycle/plugin?name=PLUGIN-NAME&client-id=CLIENT_IDThe given
PLUGIN-NAME determines which servlet action is executed. The PLUGIN-NAME must be the
IFCPlugin.getName() of the plugin. The CLIENT_ID must be the ID of the client where the plugin was
installed. It must be omitted in case the plugin was installed as a system plugin. When no servlet plugin with the
given name exists, a general error response is returned.CONFIG_FILENAMEATTR_NAME| Modifier and Type | Method and Description |
|---|---|
IPluginServletActionRetVal |
execute(IPluginServletActionParams params)
The main method of this plugin.
|
getDescription, getName, initialize, initPlugin, install, shutdown, shutdown, uninstallIPluginServletActionRetVal execute(IPluginServletActionParams params) throws FCPluginException
params - The parameters this plugin may make use of. Contains for example the URL parameters, the data of the
HttpSession or the current Benutzer.FCPluginException - May be thrown when this plugin cannot handle the request. When an error is thrown, a
generic error response will be sent in response to the HTTP request.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.