@ForUseOnly public interface PreviewParameter
PreviewParameter.Factory.from(Object)
on the webserver.
Example:PreviewParameter
mpp =PreviewParameter.Factory.from(request)
; if (mpp != null) { String gender = mpp.getParameter("gender")
; Number age = mpp.getParameter("age")
; if ("male".equals(gender) && age != null && age >= 18) { // ... } }
Modifier and Type | Interface and Description |
---|---|
static class |
PreviewParameter.Factory
Factory providing methods for getting a
PreviewParameter instance. |
Modifier and Type | Field and Description |
---|---|
static String |
SESSION_ATTRIBUTE
The name of the
HttpSession attribute this object will be assigned to. |
Modifier and Type | Method and Description |
---|---|
Object |
getParameter(String name)
Returns the parameter value for the specified name.
|
Date |
getTimeParameter()
Returns the configured preview time.
|
static final String SESSION_ATTRIBUTE
HttpSession
attribute this object will be assigned to.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210