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

    Constructors
    Constructor
    Description
    ControllerPortletInvocationContext(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 Type
    Method
    Description
    jakarta.servlet.http.HttpServletRequest
     
    jakarta.servlet.http.HttpServletResponse
     
     
    renderURL(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ControllerPortletInvocationContext

      public ControllerPortletInvocationContext(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 Details

    • getWindowId

      public String getWindowId()
    • getClientRequest

      public jakarta.servlet.http.HttpServletRequest getClientRequest() throws IllegalStateException
      Specified by:
      getClientRequest in class org.gatein.pc.portlet.impl.spi.AbstractPortletInvocationContext
      Throws:
      IllegalStateException
    • getClientResponse

      public jakarta.servlet.http.HttpServletResponse getClientResponse() throws IllegalStateException
      Specified by:
      getClientResponse in class org.gatein.pc.portlet.impl.spi.AbstractPortletInvocationContext
      Throws:
      IllegalStateException
    • renderURL

      public String renderURL(org.gatein.pc.api.ContainerURL containerURL, org.gatein.pc.api.URLFormat format)