Class ControllerPortletInvocationContext
java.lang.Object
org.gatein.pc.portlet.impl.spi.AbstractPortletInvocationContext
org.gatein.pc.test.controller.unit.ControllerPortletInvocationContext
- All Implemented Interfaces:
org.gatein.pc.api.spi.PortletInvocationContext
public class ControllerPortletInvocationContext
extends org.gatein.pc.portlet.impl.spi.AbstractPortletInvocationContext
An implementation of the
PortletInvocationContext interface that is related to a specific
window.- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
-
Field Summary
Fields inherited from class org.gatein.pc.portlet.impl.spi.AbstractPortletInvocationContext
responseContentType -
Constructor Summary
ConstructorsConstructorDescriptionControllerPortletInvocationContext(org.gatein.common.io.Serialization<org.gatein.pc.controller.state.PageNavigationalState> serialization, jakarta.servlet.http.HttpServletRequest clientRequest, jakarta.servlet.http.HttpServletResponse clientResponse, String windowId, org.gatein.pc.controller.state.PageNavigationalState pageNavigationalState) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.http.HttpServletRequestjakarta.servlet.http.HttpServletResponserenderURL(org.gatein.pc.api.ContainerURL containerURL, org.gatein.pc.api.URLFormat format) Methods inherited from class org.gatein.pc.portlet.impl.spi.AbstractPortletInvocationContext
encodeResourceURL, getResponseContentType, renderURL
-
Constructor Details
-
Method Details
-
getWindowId
-
getClientRequest
- Specified by:
getClientRequestin classorg.gatein.pc.portlet.impl.spi.AbstractPortletInvocationContext- Throws:
IllegalStateException
-
getClientResponse
- Specified by:
getClientResponsein classorg.gatein.pc.portlet.impl.spi.AbstractPortletInvocationContext- Throws:
IllegalStateException
-
renderURL
public String renderURL(org.gatein.pc.api.ContainerURL containerURL, org.gatein.pc.api.URLFormat format)
-