org.jboss.portal.portlet.controller.impl
Class ControllerPortletInvocationContext
java.lang.Object
org.jboss.portal.portlet.impl.spi.AbstractPortletInvocationContext
org.jboss.portal.portlet.controller.impl.ControllerPortletInvocationContext
- All Implemented Interfaces:
- PortletInvocationContext
public class ControllerPortletInvocationContext
- extends AbstractPortletInvocationContext
An implementation of the PortletInvocationContext interface that is related to a specific
window.
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControllerPortletInvocationContext
public ControllerPortletInvocationContext(org.jboss.portal.common.io.Serialization<PortletPageNavigationalState> serialization,
javax.servlet.http.HttpServletRequest clientRequest,
javax.servlet.http.HttpServletResponse clientResponse,
java.lang.String windowId,
PortletPageNavigationalState pageNavigationalState,
org.jboss.portal.common.util.MarkupInfo markupInfo)
getWindowId
public java.lang.String getWindowId()
getClientRequest
public javax.servlet.http.HttpServletRequest getClientRequest()
throws java.lang.IllegalStateException
- Description copied from class:
AbstractPortletInvocationContext
- Return the client request.
- Specified by:
getClientRequest in class AbstractPortletInvocationContext
- Returns:
- the client request
- Throws:
java.lang.IllegalStateException - if the client response is not available
getClientResponse
public javax.servlet.http.HttpServletResponse getClientResponse()
throws java.lang.IllegalStateException
- Description copied from class:
AbstractPortletInvocationContext
- Return the client response.
- Specified by:
getClientResponse in class AbstractPortletInvocationContext
- Returns:
- the client response
- Throws:
java.lang.IllegalStateException - if the client response is not available
renderURL
public java.lang.String renderURL(ContainerURL containerURL,
URLFormat format)
- Description copied from interface:
PortletInvocationContext
- Renders a container URL.
- Parameters:
containerURL - the portlet urlformat - the url format
- Returns:
- the rendered url
Copyright © 2008. All Rights Reserved.