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_FILENAME
ATTR_NAME, COL_NAME
ATTR_DISPLAY_NAME
Modifier and Type | Method and Description |
---|---|
IPluginServletActionRetVal |
execute(IPluginServletActionParams params)
The main method of this plugin.
|
getDescription, getDescription, getDisplayName, getName, initialize, initPlugin, install, shutdown, shutdown, uninstall
IPluginServletActionRetVal execute(IPluginServletActionParams params) throws FCPluginException
When any exception other than FCPluginException
is thrown, a generic HTML error page is returned to the
client.
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 this exception is thrown,
a 404
HTTP response is returned to the client.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.