org.jboss.portlet
Class JBossActionResponse

java.lang.Object
  extended by org.jboss.portal.portlet.impl.PortletResponseImpl
      extended by org.jboss.portal.portlet.impl.ActionResponseImpl
          extended by org.jboss.portlet.JBossActionResponse
All Implemented Interfaces:
ActionResponse, PortletResponse

public class JBossActionResponse
extends ActionResponseImpl


Field Summary
 
Fields inherited from class org.jboss.portal.portlet.impl.ActionResponseImpl
portletWindowContext, result, window
 
Fields inherited from class org.jboss.portal.portlet.impl.PortletResponseImpl
properties, req, resp
 
Constructor Summary
JBossActionResponse(WindowContext windowCtx, Window window, PortalRequest req, PortalResponse resp, Properties properties)
           
 
Method Summary
 PortletURL createActionURL()
          Create an action url.
 PortletURL createRenderURL()
          Create a render url.
 void sendAuthenticate()
          The component wants the user to be authenticated to perform the task.
 void sendBytes(java.lang.String contentType, byte[] bytes)
           
 
Methods inherited from class org.jboss.portal.portlet.impl.ActionResponseImpl
getResult, sendRedirect, setPortletMode, setRenderParameter, setRenderParameter, setRenderParameters, setWindowState
 
Methods inherited from class org.jboss.portal.portlet.impl.PortletResponseImpl
addProperty, encodeURL, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.portlet.PortletResponse
addProperty, encodeURL, setProperty
 

Constructor Detail

JBossActionResponse

public JBossActionResponse(WindowContext windowCtx,
                           Window window,
                           PortalRequest req,
                           PortalResponse resp,
                           Properties properties)
Method Detail

sendAuthenticate

public void sendAuthenticate()
                      throws java.lang.IllegalStateException
The component wants the user to be authenticated to perform the task. After this has been called all subsequent actions should not be possible (getWriter()/sendRedirect()/etc...).

Throws:
java.lang.IllegalStateException

sendBytes

public void sendBytes(java.lang.String contentType,
                      byte[] bytes)

createRenderURL

public PortletURL createRenderURL()
Create a render url.


createActionURL

public PortletURL createActionURL()
Create an action url.