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

CoreComponentRequestContext - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.command
Class CoreComponentRequestContext

java.lang.Object
  extended byorg.jboss.portal.core.command.CoreComponentRequestContext
All Implemented Interfaces:
ComponentRequestContext

public class CoreComponentRequestContext
extends java.lang.Object
implements ComponentRequestContext


Field Summary
protected  ComponentRequest creq
          .
protected  NavigationalState navigationalState
          .
protected  ServerRequest req
          .
protected  ServerResponse resp
          .
 
Constructor Summary
CoreComponentRequestContext(ServerRequest req, ServerResponse resp, Instance instance, Portal portal, java.lang.String windowKey, 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
 

Field Detail

req

protected ServerRequest req
.


resp

protected ServerResponse resp
.


navigationalState

protected NavigationalState navigationalState
.


creq

protected ComponentRequest creq
.

Constructor Detail

CoreComponentRequestContext

public CoreComponentRequestContext(ServerRequest req,
                                   ServerResponse resp,
                                   Instance instance,
                                   Portal portal,
                                   java.lang.String windowKey,
                                   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