Web Facade for access to HTTP Servlet objects and information.
| Type | Name and description |
|---|---|
java.util.Map<java.lang.String, java.lang.Object> |
getApplicationAttributes() |
java.util.Map<java.lang.String, java.lang.Object> |
getErrorParameters() |
java.lang.String |
getHostName(boolean withPort) |
java.util.Map<java.lang.String, java.lang.Object> |
getParameters() |
javax.servlet.http.HttpServletRequest |
getRequest() |
java.util.Map<java.lang.String, java.lang.Object> |
getRequestAttributes() |
java.util.Map<java.lang.String, java.lang.Object> |
getRequestParameters()Returns a Map with request parameters including session saved, multi-part body, json body, declared and named path parameters, and standard Servlet request parameters (query string parameters, form body parameters). |
java.lang.String |
getRequestUrl() |
javax.servlet.http.HttpServletResponse |
getResponse() |
java.util.List<java.lang.String> |
getSavedErrors() |
java.util.List<java.lang.String> |
getSavedMessages() |
java.util.List<org.moqui.context.ValidationError> |
getSavedValidationErrors() |
java.util.List<java.util.Map> |
getScreenHistory()A list of recent screen requests to show to a user (does not include requests to transitions or standalone screens). |
java.util.Map<java.lang.String, java.lang.Object> |
getSecureRequestParameters()Returns a Map with only secure (encrypted if over HTTPS) request parameters including session saved, multi-part body, json body, and form body parameters (standard Servlet request parameters IFF there is no query string). |
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSession |
getSession() |
java.util.Map<java.lang.String, java.lang.Object> |
getSessionAttributes() |
java.lang.String |
getSessionToken()Get the token to include in all POST requests with the name moquiSessionToken (in the session as 'moqui.session.token') |
java.lang.String |
getWebappRootUrl(boolean requireFullUrl, java.lang.Boolean useEncryption) |
void |
handleEntityRestCall(java.util.List<java.lang.String> extraPathNameList, boolean masterNameInPath) |
void |
handleJsonRpcServiceCall() |
void |
handleServiceRestCall(java.util.List<java.lang.String> extraPathNameList) |
void |
handleXmlRpcServiceCall() |
void |
sendJsonResponse(java.lang.Object responseObj) |
void |
sendResourceResponse(java.lang.String location) |
void |
sendTextResponse(java.lang.String text) |
void |
sendTextResponse(java.lang.String text, java.lang.String contentType, java.lang.String filename) |
Returns a Map with request parameters including session saved, multi-part body, json body, declared and named path parameters, and standard Servlet request parameters (query string parameters, form body parameters).
A list of recent screen requests to show to a user (does not include requests to transitions or standalone screens). Map contains 'name' (screen name plus up to 2 parameter values), 'url' (full URL with parameters), 'screenLocation', 'image' (last menu image in screen render path), and 'imageType' fields.
Returns a Map with only secure (encrypted if over HTTPS) request parameters including session saved, multi-part body, json body, and form body parameters (standard Servlet request parameters IFF there is no query string).
Get the token to include in all POST requests with the name moquiSessionToken (in the session as 'moqui.session.token')