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

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


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

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

protected class PortletController.ActionContextImpl
extends PortletController.InvocationContextImpl
implements ActionContext


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.portlet.test.PortletController.InvocationContextImpl
mode, navigationalState, portlet, serverRequest, serverResponse, windowState
 
Fields inherited from interface org.jboss.portal.portlet.spi.InvocationContext
INVOCATION_SCOPE, PRINCIPAL_SCOPE, SESSION_SCOPE
 
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.InvocationContextImpl
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

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