From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../client/jsf/dialog/RequestParameterManager.html | 491 +++++++++++++++++++++ 1 file changed, 491 insertions(+) create mode 100644 Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/RequestParameterManager.html (limited to 'Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/RequestParameterManager.html') diff --git a/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/RequestParameterManager.html b/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/RequestParameterManager.html new file mode 100644 index 0000000..5c69020 --- /dev/null +++ b/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/RequestParameterManager.html @@ -0,0 +1,491 @@ + + + + + + +RequestParameterManager (Quasar Client Building Blicks API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sdm.quasar.client.jsf.dialog +
+Class RequestParameterManager

+
+java.lang.Object
+  extended bycom.sdm.quasar.client.jsf.dialog.RequestParameterManager
+
+
+
+
public class RequestParameterManager
extends java.lang.Object
+ +

+Helper class to handle attributes of the request scope. + Use the request scope for thread save (i.e. request save) parameter handling. +

+ +

+

+
Author:
+
Martin Haft
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static java.util.EnumerationgetAttributeNames() + +
+           
+static HttpServletRequestgetCurrentRequest() + +
+           
+static GetParametersgetGetParameters() + +
+          Provides the GetParameters for the current request
+static PostParametersgetPostParameters() + +
+          Provides the PostParameters for the current request
+static java.lang.ObjectgetRequestAttribute(java.lang.String key) + +
+          Recieves objects from the current request. +
+static booleanisAjaxRequest() + +
+           
+static booleanisBypassRequest() + +
+           
+static booleanisGetRequest() + +
+           
+static booleanisPostRequest() + +
+           
+static voidremoveAttribute(java.lang.String key) + +
+          Removes an attribute from the current request.
+static voidsetAjaxRequest() + +
+          marks the current request as ajax request
+static voidsetBypassRequest() + +
+          marks the current request as bypass
+static voidsetRequestAttribute(java.lang.String key, + java.lang.Object object) + +
+          Stores objects at the current request. +
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+isPostRequest

+
+public static boolean isPostRequest()
+
+
+ +
Returns:
true if the current request is a post request
+
+
+
+ +

+isGetRequest

+
+public static boolean isGetRequest()
+
+
+ +
Returns:
true if the current request is a get request
+
+
+
+ +

+setBypassRequest

+
+public static void setBypassRequest()
+
+
marks the current request as bypass +

+

+
+
+
+
+ +

+isBypassRequest

+
+public static boolean isBypassRequest()
+
+
+ +
Returns:
true, if the current request is marked as bypass
+
+
+
+ +

+isAjaxRequest

+
+public static boolean isAjaxRequest()
+
+
+ +
Returns:
true, if the current request is marked as ajax request
+
+
+
+ +

+setAjaxRequest

+
+public static void setAjaxRequest()
+
+
marks the current request as ajax request +

+

+
+
+
+
+ +

+getPostParameters

+
+public static PostParameters getPostParameters()
+
+
Provides the PostParameters for the current request +

+

+ +
Returns:
PostParameters of the current request
+
+
+
+ +

+getGetParameters

+
+public static GetParameters getGetParameters()
+
+
Provides the GetParameters for the current request +

+

+ +
Returns:
GetParameters of the current request
+
+
+
+ +

+setRequestAttribute

+
+public static void setRequestAttribute(java.lang.String key,
+                                       java.lang.Object object)
+
+
Stores objects at the current request. + This is to support thread save (i.e. "request save") implementations + of the services. +

+

+
+
+
+
+ +

+getRequestAttribute

+
+public static java.lang.Object getRequestAttribute(java.lang.String key)
+
+
Recieves objects from the current request. + This is to support thread save (i.e. "request save") implementations of the services. +

+

+
+
+
+
+ +

+removeAttribute

+
+public static void removeAttribute(java.lang.String key)
+
+
Removes an attribute from the current request. +

+

+
Parameters:
key - the key of the attribute to remove
+
+
+
+ +

+getAttributeNames

+
+public static java.util.Enumeration getAttributeNames()
+
+
+ +
Returns:
all attribuet keys
+
+
+
+ +

+getCurrentRequest

+
+public static HttpServletRequest getCurrentRequest()
+
+
+ +
Returns:
the current request
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3