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

WSRPActionContext - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.wsrp.invocation
Class WSRPActionContext

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

public class WSRPActionContext
extends WSRPPortletInvocationContext
implements ActionContext

Since:
2.4
Version:
$Revision: 5440 $
Author:
Chris Laprun

Nested Class Summary
 
Nested classes inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext
 
Field Summary
private  java.lang.String characterEncoding
           
private  java.lang.String contentType
           
private  Parameters formParameters
           
private  StateString interactionState
           
private  javax.servlet.http.HttpServletRequest request
           
 
Fields inherited from class org.jboss.portal.wsrp.invocation.WSRPPortletInvocationContext
requestContext
 
Fields inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext
 
Constructor Summary
WSRPActionContext(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()
           
private  javax.servlet.ServletRequest getRequest()
          In case we want to switch where the request comes from...
 
Methods inherited from class org.jboss.portal.wsrp.invocation.WSRPPortletInvocationContext
contextualize, encodeURL, encodeURL, getClientRequest, getClientResponse, getMode, getNavigationalState, getStreamInfo, getWindowState
 
Methods inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext
addResolver, addResolver, getAttribute, getAttributeResolver, removeAttribute, 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.PortletInvocationContext
encodeURL, encodeURL, getMode, getNavigationalState, getStreamInfo, getWindowState
 
Methods inherited from interface org.jboss.portal.common.invocation.InvocationContext
getAttribute, getAttributeResolver, removeAttribute, setAttribute
 

Field Detail

formParameters

private Parameters formParameters

request

private javax.servlet.http.HttpServletRequest request

characterEncoding

private java.lang.String characterEncoding

contentType

private java.lang.String contentType

interactionState

private StateString interactionState
Constructor Detail

WSRPActionContext

public WSRPActionContext(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

getRequest

private javax.servlet.ServletRequest getRequest()
In case we want to switch where the request comes from...

Returns: