站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

PortletController.ComponentRequestContextImpl - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.portlet.test
Class PortletController.ComponentRequestContextImpl

java.lang.Object
  extended byorg.jboss.portal.portlet.test.PortletController.ComponentRequestContextImpl
All Implemented Interfaces:
ComponentRequestContext
Enclosing class:
PortletController

protected class PortletController.ComponentRequestContextImpl
extends java.lang.Object
implements ComponentRequestContext


Constructor Summary
PortletController.ComponentRequestContextImpl(Component component, ServerRequest sreq, ServerResponse sresp, PortalContext portalContext, ComponentRequest creq)
           
 
Method Summary
 javax.servlet.http.HttpServletRequest getClientRequest()
          Return the request that made the connection to the server.
 NavigationalState getNavigationalState()
          Provide the navigational state of the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletController.ComponentRequestContextImpl

public PortletController.ComponentRequestContextImpl(Component component,
                                                     ServerRequest sreq,
                                                     ServerResponse sresp,
                                                     PortalContext portalContext,
                                                     ComponentRequest creq)
Method Detail

getClientRequest

public javax.servlet.http.HttpServletRequest getClientRequest()
Description copied from interface: ComponentRequestContext
Return the request that made the connection to the server. Still used but usage should be limited as it introduce a dependency on the fact that the component caller must provide an HttpServletRequest, this is why this method is tagged as deprecated.

Specified by:
getClientRequest in interface ComponentRequestContext

getNavigationalState

public NavigationalState getNavigationalState()
Description copied from interface: ComponentRequestContext
Provide the navigational state of the component.

Specified by:
getNavigationalState in interface ComponentRequestContext