public class PluginServletActionParams extends Object implements IPluginServletActionParams
| Constructor and Description |
|---|
PluginServletActionParams(Map<String,Serializable> sessionAttributes,
Map<String,List<String>> valueParameter,
Map<String,List<FileData>> uploadFiles,
Benutzer benutzer,
Locale locale,
EServletAction action,
Map<String,String> headerMap,
FrontendServer fs)
Deprecated.
|
PluginServletActionParams(Map<String,Serializable> sessionAttributes,
Map<String,List<String>> valueParameter,
Map<String,List<FileData>> uploadFiles,
Benutzer benutzer,
Locale locale,
EServletAction action,
Map<String,String> headerMap,
FrontendServer fs,
Mandant client,
String sessionId)
Constuctor for creating a parameters object with all necessary request data
|
PluginServletActionParams(SessionAttributes sessionAttributes,
HashMap<String,List<String>> valueParameter,
HashMap<String,List<FileData>> uploadFiles,
Locale locale,
EServletAction action,
Map<String,String> headerMap,
FrontendServer fs)
Deprecated.
use
#PluginServletActionParams(Map, HashMap, HashMap, Benutzer, Locale, EServletAction, Map, FrontendServer) |
| Modifier and Type | Method and Description |
|---|---|
EServletAction |
getAction() |
Benutzer |
getBenutzer() |
FrontendServer |
getFrontendServer() |
Map<String,String> |
getHeaderMap() |
Locale |
getLocale() |
Mandant |
getPluginClient() |
Map<String,List<String>> |
getRequestParameters()
The parameters from the HTTP request.
|
Map<String,Serializable> |
getSessionAttributeMap()
Deprecated.
|
SessionAttributes |
getSessionAttributes()
Deprecated.
|
String |
getSessionID() |
Map<String,List<FileData>> |
getUploadFiles() |
ValueParameters |
getValueParameters()
Deprecated.
|
@Deprecated public PluginServletActionParams(SessionAttributes sessionAttributes, HashMap<String,List<String>> valueParameter, HashMap<String,List<FileData>> uploadFiles, Locale locale, EServletAction action, Map<String,String> headerMap, FrontendServer fs)
#PluginServletActionParams(Map, HashMap, HashMap, Benutzer, Locale, EServletAction, Map, FrontendServer)public PluginServletActionParams(Map<String,Serializable> sessionAttributes, Map<String,List<String>> valueParameter, Map<String,List<FileData>> uploadFiles, Benutzer benutzer, Locale locale, EServletAction action, Map<String,String> headerMap, FrontendServer fs, Mandant client, String sessionId)
sessionAttributes - attributes from the current sessionvalueParameter - request parameteruploadFiles - files that are overhanded by the requestbenutzer - the current logged in user that sent the formlocale - the currently set localaction - an enumeration representing the HTTP method of the requestheaderMap - request header fieldsfs - the FrontendServer that sent the request@Deprecated public PluginServletActionParams(Map<String,Serializable> sessionAttributes, Map<String,List<String>> valueParameter, Map<String,List<FileData>> uploadFiles, Benutzer benutzer, Locale locale, EServletAction action, Map<String,String> headerMap, FrontendServer fs)
PluginServletActionParams(Map, Map, Map, Benutzer, Locale, EServletAction, Map, FrontendServer, Mandant, String)sessionAttributes - attributes from the current sessionvalueParameter - request parameteruploadFiles - files that are overhanded by the requestbenutzer - the current logged in user that sent the formlocale - the currently set localaction - an enumeration representing the HTTP method of the requestheaderMap - request header fieldsfs - the FrontendServer that sent the request@Deprecated public Map<String,Serializable> getSessionAttributeMap()
getSessionAttributeMap in interface IPluginServletActionParamsMap with all attributes of the current HttpSession. Please note that changes to this
map are not reflected or saved in the HttpSession.public Map<String,List<String>> getRequestParameters()
IPluginServletActionParamshttp://example.com?foo=bar&foo=baz. Also, for some HTTP methods such as EServletAction.DELETE, you
may have to parse the HTTP request body yourself.getRequestParameters in interface IPluginServletActionParamsMap with the parameters from the HttpServletRequest.IPluginServletActionParams.getUploadFiles()public Map<String,List<FileData>> getUploadFiles()
getUploadFiles in interface IPluginServletActionParamsMap between the name of an upload form element and the file(s) that were uploaded for that upload
element.public Locale getLocale()
getLocale in interface IPluginServletActionParamsLocale of the request; or the default locale in case no locale could be determined.public EServletAction getAction()
getAction in interface IPluginServletActionParamspublic Map<String,String> getHeaderMap()
getHeaderMap in interface IPluginServletActionParamsMap that contains the HTTP header parameters.public FrontendServer getFrontendServer()
getFrontendServer in interface IPluginServletActionParamsFrontendServer to which the servlet request was made, or null if the request
was made directly to the master server.public Benutzer getBenutzer()
getBenutzer in interface IPluginServletActionParamsBenutzer from the current XfcSession who called the servlet action plugin.@Deprecated public SessionAttributes getSessionAttributes()
getSessionAttributes in interface IPluginServletActionParams@Deprecated public ValueParameters getValueParameters()
getValueParameters in interface IPluginServletActionParamspublic String getSessionID()
getSessionID in interface IPluginServletActionParamsnull in case no session ID is available
(which may happen, for example, when the user is not logged in).public Mandant getPluginClient()
getPluginClient in interface IPluginServletActionParamsMandant to which the servlet action plugin belongs to; or null in case the plugin was
installed as a system plugin and no client was provided in the servlet action URL.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.