|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRequestPropertiesManager
Encapsulates logic related to handling properties that can be retrieved from and
set on PortletRequest and PortletResponse
objects.
get
-add select servlet request properties to map
add/set
-react to setting cache timeout
| Method Summary | |
|---|---|
void |
addResponseProperty(HttpServletRequest portletRequest,
IPortletWindow portletWindow,
String property,
String value)
Called when a portlet sets a property via PortletResponse.addProperty(String, String). |
Map<String,String[]> |
getRequestProperties(HttpServletRequest portletRequest,
IPortletWindow portletWindow)
Called when a portlet gets the request properties via PortletRequest.getProperties(String),
PortletRequest.getProperty(String), or PortletRequest.getPropertyNames(). |
void |
setResponseProperty(HttpServletRequest portletRequest,
IPortletWindow portletWindow,
String property,
String value)
Called when a portlet sets a property via PortletResponse.setProperty(String, String). |
| Method Detail |
|---|
void setResponseProperty(HttpServletRequest portletRequest,
IPortletWindow portletWindow,
String property,
String value)
PortletResponse.setProperty(String, String). This
method should follow the same rules as the PortletResponse method and overwrite any existing property of the same
name.
portletRequest - The request the setProperty call was made duringportletWindow - The PortletWindow representing the portlet calling setPropertyproperty - The name of the property to set, will not be null.value - The value of the property to set, may be null.
void addResponseProperty(HttpServletRequest portletRequest,
IPortletWindow portletWindow,
String property,
String value)
PortletResponse.addProperty(String, String). This
method should follow the same rules as the PortletResponse method and add the value to any existing property of
the same name.
portletRequest - The request the addProperty call was made duringportletWindow - The PortletWindow representing the portlet calling addPropertyproperty - The name of the property to add, will not be null.value - The value of the property to add, may be null.
Map<String,String[]> getRequestProperties(HttpServletRequest portletRequest,
IPortletWindow portletWindow)
PortletRequest.getProperties(String),
PortletRequest.getProperty(String), or PortletRequest.getPropertyNames().
portletRequest - The request the call was made duringportletWindow - The PortletWindow representing the portlet requesting properties.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||