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

PortletController.ActionContextImpl - JBOSS Portal 2.6 API 英文版文档


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

java.lang.Object
  extended byorg.jboss.portal.common.invocation.AbstractInvocationContext
      extended byorg.jboss.portal.portlet.impl.spi.AbstractPortletInvocationContext
          extended byorg.jboss.portal.portlet.test.PortletController.PortletInvocationContextImpl
              extended byorg.jboss.portal.portlet.test.PortletController.ActionContextImpl
All Implemented Interfaces:
ActionContext, InvocationContext, PortletInvocationContext
Enclosing class:
PortletController

protected class PortletController.ActionContextImpl
extends PortletController.PortletInvocationContextImpl
implements ActionContext


Nested Class Summary
 
Nested classes inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext
 
Field Summary
private  Parameters form
           
private  StateString interactionState
           
private  javax.servlet.http.HttpServletRequest req
           
 
Fields inherited from class org.jboss.portal.portlet.test.PortletController.PortletInvocationContextImpl
invocation, mode, navigationalState, portlet, windowState
 
Fields inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext
 
Constructor Summary
PortletController.ActionContextImpl(Portlet portlet, ServerInvocation invocation, StateString navigationalState, WindowState windowState, Mode mode, StateString interactionState, Parameters form)
           
 
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.portlet.test.PortletController.PortletInvocationContextImpl
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

req

private javax.servlet.http.HttpServletRequest req

interactionState

private StateString interactionState

form

private Parameters form
Constructor Detail

PortletController.ActionContextImpl

public PortletController.ActionContextImpl(Portlet portlet,
                                           ServerInvocation invocation,
                                           StateString navigationalState,
                                           WindowState windowState,
                                           Mode mode,
                                           StateString interactionState,
                                           Parameters form)
Method Detail

getCharacterEncoding

public java.lang.String getCharacterEncoding()
Specified by:
getCharacterEncoding 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

getContentLength

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

getContentType

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

Specified by:
getContentType in interface ActionContext

getInteractionState

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

getForm

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