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

WSRPActionContext - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.wsrp.invocation
Class WSRPActionContext

java.lang.Object
  extended byorg.jboss.portal.portlet.impl.spi.AbstractInvocationContext
      extended byorg.jboss.portal.wsrp.invocation.WSRPInvocationContext
          extended byorg.jboss.portal.wsrp.invocation.WSRPActionContext
All Implemented Interfaces:
ActionContext, InvocationContext

public class WSRPActionContext
extends WSRPInvocationContext
implements ActionContext

Since:
2.4

Nested Class Summary
 
Nested classes inherited from class org.jboss.portal.portlet.spi.InvocationContext
InvocationContext.Scope
 
Field Summary
 
Fields inherited from class org.jboss.portal.wsrp.invocation.WSRPInvocationContext
requestContext
 
Fields inherited from interface org.jboss.portal.portlet.spi.InvocationContext
INVOCATION_SCOPE, PRINCIPAL_SCOPE, SESSION_SCOPE
 
Constructor Summary
WSRPActionContext(java.lang.String sessionId, StateString navigationalState, SecurityContext securityContext, HTTPStreamInfo streamInfo, PortalContext portalContext, UserContext userContext, InstanceContext instanceContext, WindowContext windowContext, StateString interactionState, Mode mode, WindowState windowState, Parameters formParameters, java.lang.String characterEncoding, java.lang.String contentType)
           
 
Method Summary
 java.lang.String getCharacterEncoding()
           
 int getContentLength()
           
 java.lang.String getContentType()
          The content type accepted by the portal.
 Parameters getForm()
           
 java.io.InputStream getInputStream()
           
 StateString getInteractionState()
           
 java.io.BufferedReader getReader()
           
 
Methods inherited from class org.jboss.portal.wsrp.invocation.WSRPInvocationContext
contextualize, encodeURL, encodeURL, getClientRequest, getClientResponse, getMode, getNavigationalState, getStreamInfo, getWindowState
 
Methods inherited from class org.jboss.portal.portlet.impl.spi.AbstractInvocationContext
getAttribute, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.portal.portlet.spi.InvocationContext
encodeURL, encodeURL, getAttribute, getMode, getNavigationalState, getStreamInfo, getWindowState, setAttribute
 

Constructor Detail

WSRPActionContext

public WSRPActionContext(java.lang.String sessionId,
                         StateString navigationalState,
                         SecurityContext securityContext,
                         HTTPStreamInfo streamInfo,
                         PortalContext portalContext,
                         UserContext userContext,
                         InstanceContext instanceContext,
                         WindowContext windowContext,
                         StateString interactionState,
                         Mode mode,
                         WindowState windowState,
                         Parameters formParameters,
                         java.lang.String characterEncoding,
                         java.lang.String contentType)
Method Detail

getInteractionState

public StateString getInteractionState()
Specified by:
getInteractionState in interface ActionContext

getCharacterEncoding

public java.lang.String getCharacterEncoding()
Specified by:
getCharacterEncoding in interface ActionContext

getContentLength

public int getContentLength()
Specified by:
getContentLength in interface ActionContext

getReader

public java.io.BufferedReader getReader()
                                 throws java.io.IOException
Specified by:
getReader in interface ActionContext
Throws:
java.io.IOException

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface ActionContext
Throws:
java.io.IOException

getContentType

public java.lang.String getContentType()
Description copied from interface: ActionContext
The content type accepted by the portal.

Specified by:
getContentType in interface ActionContext

getForm

public Parameters getForm()
Specified by:
getForm in interface ActionContext