public class PluginRequestUtil
extends java.lang.Object
| Constructor and Description |
|---|
PluginRequestUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setRequestParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String value)
This method sets/updates the request parameter with the provided value by appending it
to any existing values.
|
static void |
setRequestParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String value,
boolean append)
This method sets/updates the request parameter with the provided value by either appending it to
any existing values or overriding current values.
|
public static void setRequestParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String value)
request - Handle to the HTTP request object.name - The request parameter to set/update.value - The value of the request parameter.public static void setRequestParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String value,
boolean append)
request - Handle to the HTTP request object.name - The request parameter to set/update.value - The value of the request parameter.append - If true, value is appended to any existing value(s); otherwise, current values are overridden by the given value.