Interface IPluginServletActionParams
-
- All Superinterfaces:
IPluginParameters,Serializable
- All Known Implementing Classes:
PluginServletActionParams
public interface IPluginServletActionParams extends IPluginParameters, Serializable
Interface for the parameters of a servlet action plugin.- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description EServletActiongetAction()BenutzergetBenutzer()FrontendServergetFrontendServer()Map<Serializable,Serializable>getFrqSessionAttributes()Gets the values stored in the currentFRQSession.Map<String,String>getHeaderMap()LocalegetLocale()MandantgetPluginClient()Map<String,List<String>>getRequestParameters()The parameters from the HTTP request.Map<String,Serializable>getSessionAttributeMap()Gets the values from the currentHttpSession.SessionAttributesgetSessionAttributes()Deprecated.StringgetSessionID()Map<String,List<FileData>>getUploadFiles()ValueParametersgetValueParameters()Deprecated.
-
-
-
Method Detail
-
getSessionAttributeMap
Map<String,Serializable> getSessionAttributeMap()
Gets the values from the currentHttpSession. The servlet plugin may be executed on a different server that does not have direct access to the HTTP request: Please note that changes to this map are NOT reflected or saved in theHttpSession. To modify the session attributes, use theIPluginServletActionRetVal.getSessionAttributeMap()return value.- Returns:
- A map
Mapwith all attributes of the currentHttpSession. - Since:
- 5.0
-
getBenutzer
Benutzer getBenutzer()
- Returns:
- The
Benutzerfrom the currentXfcSessionwho called the servlet action plugin. - Since:
- 5.0
-
getRequestParameters
Map<String,List<String>> getRequestParameters()
The parameters from the HTTP request. This includes both URL parameters as well as POST parameters, but excluded uploaded files. Please note that multiple values may have been given for a URL or POST parameter, eg.http://example.com?foo=bar&foo=baz. Also, for some HTTP methods such asEServletAction.DELETE, you may have to parse the HTTP request body yourself.- Returns:
- A
Mapwith the parameters from theHttpServletRequest. - See Also:
getUploadFiles()
-
getUploadFiles
Map<String,List<FileData>> getUploadFiles()
- Returns:
- A
Mapbetween the name of an upload form element and the file(s) that were uploaded for that upload element.
-
getLocale
Locale getLocale()
- Returns:
- The current
Localeof the request; or the default locale in case no locale could be determined.
-
getAction
EServletAction getAction()
- Returns:
- The HTTP method of the servlet request.
-
getHeaderMap
Map<String,String> getHeaderMap()
- Returns:
- A
Mapthat contains the HTTP header parameters.
-
getFrontendServer
FrontendServer getFrontendServer()
- Returns:
- The current
FrontendServerto which the servlet request was made, ornullif the request was made directly to the master server.
-
getSessionID
String getSessionID()
- Returns:
- The session ID for the user who is currently logged in; or
nullin case no session ID is available (which may happen, for example, when the user is not logged in). - Since:
- 5.1.0
-
getPluginClient
Mandant getPluginClient()
- Returns:
- The
Mandantto which the servlet action plugin belongs to; ornullin case the plugin was installed as a system plugin and no client was provided in the servlet action URL. - Since:
- 5.1.0
-
getSessionAttributes
@Deprecated SessionAttributes getSessionAttributes()
Deprecated.
-
getValueParameters
@Deprecated ValueParameters getValueParameters()
Deprecated.
-
getFrqSessionAttributes
Map<Serializable,Serializable> getFrqSessionAttributes()
Gets the values stored in the currentFRQSession. The servlet plugin may be executed on a different server that does not have direct access to the HTTP request: Please note that changes to this map are NOT reflected or saved in theFRQSession. To modify the FRQ session attributes, use theIPluginServletActionRetVal.getFrqSessionAttributeMap()return value.- Returns:
- Attributes from the form request session of the current request. If no such session exists, this is an empty map.
- Since:
- 7.0.13
-
-