|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ModelPasser
Provides functionality for passing an object model from a portlet ActonRequest to
a HttpServletRequest
| Method Summary | |
|---|---|
Map<Object,Object> |
getModelFromPortlet(HttpServletRequest request,
HttpServletResponse response,
String key)
Retrieve a model for the specified key passed from a portlet in the same web application. |
void |
passModelToServlet(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
String key,
Map<Object,Object> model)
Take the key and model for the request and store it in a way that a servlet in the same web application. |
| Method Detail |
|---|
void passModelToServlet(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
String key,
Map<Object,Object> model)
key - A session-unique key that can be used for passing the modelmodel - The model that needs to be passed to the servlet.
Map<Object,Object> getModelFromPortlet(HttpServletRequest request,
HttpServletResponse response,
String key)
key - The session-unique key to retrieve the model for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||