public abstract class AbstractControllerContext extends Object implements ControllerContext
| Modifier and Type | Field and Description |
|---|---|
static org.gatein.pc.api.spi.PortalContext |
PORTAL_CONTEXT
.
|
protected javax.servlet.http.HttpServletRequest |
req
.
|
protected javax.servlet.http.HttpServletResponse |
resp
.
|
| Constructor and Description |
|---|
AbstractControllerContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.http.HttpServletRequest |
getClientRequest() |
javax.servlet.http.HttpServletResponse |
getClientResponse() |
protected abstract org.gatein.pc.api.Portlet |
getPortlet(String windowId) |
org.gatein.pc.api.info.PortletInfo |
getPortletInfo(String windowId)
Returns the portet info for a specified window.
|
protected abstract org.gatein.pc.api.invocation.response.PortletInvocationResponse |
invoke(org.gatein.pc.api.invocation.PortletInvocation invocation) |
org.gatein.pc.api.invocation.response.PortletInvocationResponse |
invoke(String windowId,
org.gatein.pc.api.invocation.ActionInvocation actionInvocation) |
org.gatein.pc.api.invocation.response.PortletInvocationResponse |
invoke(String windowId,
List<javax.servlet.http.Cookie> requestCookies,
org.gatein.pc.api.invocation.EventInvocation eventInvocation) |
org.gatein.pc.api.invocation.response.PortletInvocationResponse |
invoke(String windowId,
List<javax.servlet.http.Cookie> requestCookies,
org.gatein.pc.api.invocation.RenderInvocation renderInvocation) |
org.gatein.pc.api.invocation.response.PortletInvocationResponse |
invoke(String windowId,
org.gatein.pc.api.invocation.ResourceInvocation resourceInvocation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatePortletInvocationContext, getEventControllerContext, getStateControllerContextpublic static final org.gatein.pc.api.spi.PortalContext PORTAL_CONTEXT
protected final javax.servlet.http.HttpServletRequest req
protected final javax.servlet.http.HttpServletResponse resp
public AbstractControllerContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws IOException
IOExceptionpublic javax.servlet.http.HttpServletRequest getClientRequest()
public javax.servlet.http.HttpServletResponse getClientResponse()
public org.gatein.pc.api.info.PortletInfo getPortletInfo(String windowId)
ControllerContextgetPortletInfo in interface ControllerContextwindowId - the window idprotected abstract org.gatein.pc.api.Portlet getPortlet(String windowId) throws org.gatein.pc.api.PortletInvokerException
org.gatein.pc.api.PortletInvokerExceptionprotected abstract org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(org.gatein.pc.api.invocation.PortletInvocation invocation)
throws org.gatein.pc.api.PortletInvokerException
org.gatein.pc.api.PortletInvokerExceptionpublic org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(String windowId, org.gatein.pc.api.invocation.ActionInvocation actionInvocation) throws org.gatein.pc.api.PortletInvokerException
invoke in interface ControllerContextorg.gatein.pc.api.PortletInvokerExceptionpublic org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(String windowId, List<javax.servlet.http.Cookie> requestCookies, org.gatein.pc.api.invocation.EventInvocation eventInvocation) throws org.gatein.pc.api.PortletInvokerException
invoke in interface ControllerContextorg.gatein.pc.api.PortletInvokerExceptionpublic org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(String windowId, List<javax.servlet.http.Cookie> requestCookies, org.gatein.pc.api.invocation.RenderInvocation renderInvocation) throws org.gatein.pc.api.PortletInvokerException
invoke in interface ControllerContextorg.gatein.pc.api.PortletInvokerExceptionpublic org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(String windowId, org.gatein.pc.api.invocation.ResourceInvocation resourceInvocation) throws org.gatein.pc.api.PortletInvokerException
invoke in interface ControllerContextorg.gatein.pc.api.PortletInvokerExceptionCopyright © 2003-2020 GateIn. All Rights Reserved.