Class StateAwareResponseImpl
- java.lang.Object
-
- org.gatein.pc.portlet.impl.jsr168.api.PortletResponseImpl
-
- org.gatein.pc.portlet.impl.jsr168.api.StateAwareResponseImpl
-
- All Implemented Interfaces:
javax.portlet.PortletResponse,javax.portlet.StateAwareResponse
- Direct Known Subclasses:
ActionResponseImpl,EventResponseImpl
public abstract class StateAwareResponseImpl extends PortletResponseImpl implements javax.portlet.StateAwareResponse
- Version:
- $Revision: 630 $
- Author:
- Julien Viet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classStateAwareResponseImpl.WantRedirectprotected classStateAwareResponseImpl.WantUpdate
-
Field Summary
Fields Modifier and Type Field Description protected StateAwareResponseImpl.WantRedirectwantRedirect.protected StateAwareResponseImpl.WantUpdatewantUpdate.-
Fields inherited from class org.gatein.pc.portlet.impl.jsr168.api.PortletResponseImpl
invocation, preq
-
-
Constructor Summary
Constructors Constructor Description StateAwareResponseImpl(org.gatein.pc.api.invocation.PortletInvocation invocation, PortletRequestImpl preq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckRedirect(String errorMsg)javax.portlet.PortletModegetPortletMode()Map<String,String[]>getRenderParameterMap()org.gatein.pc.api.invocation.response.PortletInvocationResponsegetResponse()javax.portlet.WindowStategetWindowState()protected voidqueueEvent(QName name, Serializable value)voidremovePublicRenderParameter(String name)protected StateAwareResponseImpl.WantRedirectrequireRedirect()protected StateAwareResponseImpl.WantUpdaterequireUpdate(String errorMsg)voidsetEvent(String localName, Serializable value)voidsetEvent(QName name, Serializable value)voidsetPortletMode(javax.portlet.PortletMode portletMode)voidsetRenderParameter(String name, String value)voidsetRenderParameter(String name, String[] values)voidsetRenderParameters(Map<String,String[]> map)voidsetWindowState(javax.portlet.WindowState windowState)protected StateAwareResponseImpl.WantUpdatewantUpdate()-
Methods inherited from class org.gatein.pc.portlet.impl.jsr168.api.PortletResponseImpl
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, getProperties, getProperties, getRealResponse, setProperty
-
-
-
-
Field Detail
-
wantUpdate
protected StateAwareResponseImpl.WantUpdate wantUpdate
.
-
wantRedirect
protected StateAwareResponseImpl.WantRedirect wantRedirect
.
-
-
Constructor Detail
-
StateAwareResponseImpl
public StateAwareResponseImpl(org.gatein.pc.api.invocation.PortletInvocation invocation, PortletRequestImpl preq)
-
-
Method Detail
-
getResponse
public org.gatein.pc.api.invocation.response.PortletInvocationResponse getResponse()
- Specified by:
getResponsein classPortletResponseImpl
-
requireUpdate
protected StateAwareResponseImpl.WantUpdate requireUpdate(String errorMsg)
-
checkRedirect
protected void checkRedirect(String errorMsg)
-
requireRedirect
protected StateAwareResponseImpl.WantRedirect requireRedirect()
-
wantUpdate
protected StateAwareResponseImpl.WantUpdate wantUpdate()
-
setWindowState
public void setWindowState(javax.portlet.WindowState windowState) throws javax.portlet.WindowStateException- Specified by:
setWindowStatein interfacejavax.portlet.StateAwareResponse- Throws:
javax.portlet.WindowStateException
-
setPortletMode
public void setPortletMode(javax.portlet.PortletMode portletMode) throws javax.portlet.PortletModeException- Specified by:
setPortletModein interfacejavax.portlet.StateAwareResponse- Throws:
javax.portlet.PortletModeException
-
setRenderParameters
public void setRenderParameters(Map<String,String[]> map)
- Specified by:
setRenderParametersin interfacejavax.portlet.StateAwareResponse
-
setRenderParameter
public void setRenderParameter(String name, String value)
- Specified by:
setRenderParameterin interfacejavax.portlet.StateAwareResponse
-
setRenderParameter
public void setRenderParameter(String name, String[] values)
- Specified by:
setRenderParameterin interfacejavax.portlet.StateAwareResponse
-
getRenderParameterMap
public Map<String,String[]> getRenderParameterMap()
- Specified by:
getRenderParameterMapin interfacejavax.portlet.StateAwareResponse
-
removePublicRenderParameter
public void removePublicRenderParameter(String name)
- Specified by:
removePublicRenderParameterin interfacejavax.portlet.StateAwareResponse
-
setEvent
public void setEvent(QName name, Serializable value)
- Specified by:
setEventin interfacejavax.portlet.StateAwareResponse
-
setEvent
public void setEvent(String localName, Serializable value)
- Specified by:
setEventin interfacejavax.portlet.StateAwareResponse
-
getPortletMode
public javax.portlet.PortletMode getPortletMode()
- Specified by:
getPortletModein interfacejavax.portlet.StateAwareResponse
-
getWindowState
public javax.portlet.WindowState getWindowState()
- Specified by:
getWindowStatein interfacejavax.portlet.StateAwareResponse
-
queueEvent
protected final void queueEvent(QName name, Serializable value)
-
-