Class PortletResponseImpl
- java.lang.Object
-
- org.gatein.pc.portlet.impl.jsr168.api.PortletResponseImpl
-
- All Implemented Interfaces:
javax.portlet.PortletResponse
- Direct Known Subclasses:
MimeResponseImpl,StateAwareResponseImpl
public abstract class PortletResponseImpl extends Object implements javax.portlet.PortletResponse
- Version:
- $Revision: 6697 $
- Author:
- Julien Viet
-
-
Field Summary
Fields Modifier and Type Field Description protected org.gatein.pc.api.invocation.PortletInvocationinvocation.protected PortletRequestImplpreq.
-
Constructor Summary
Constructors Modifier Constructor Description protectedPortletResponseImpl(org.gatein.pc.api.invocation.PortletInvocation invocation, PortletRequestImpl preq)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddProperty(String key, String value)voidaddProperty(String key, Element element)voidaddProperty(javax.servlet.http.Cookie cookie)ElementcreateElement(String tagName)StringencodeURL(String url)StringgetNamespace()protected org.gatein.pc.api.invocation.response.ResponsePropertiesgetProperties()protected org.gatein.pc.api.invocation.response.ResponsePropertiesgetProperties(boolean create)javax.servlet.http.HttpServletResponseWrappergetRealResponse()abstract org.gatein.pc.api.invocation.response.PortletInvocationResponsegetResponse()voidsetProperty(String key, String value)
-
-
-
Field Detail
-
invocation
protected final org.gatein.pc.api.invocation.PortletInvocation invocation
.
-
preq
protected final PortletRequestImpl preq
.
-
-
Constructor Detail
-
PortletResponseImpl
protected PortletResponseImpl(org.gatein.pc.api.invocation.PortletInvocation invocation, PortletRequestImpl preq)
-
-
Method Detail
-
getResponse
public abstract org.gatein.pc.api.invocation.response.PortletInvocationResponse getResponse()
-
encodeURL
public String encodeURL(String url)
- Specified by:
encodeURLin interfacejavax.portlet.PortletResponse
-
addProperty
public void addProperty(String key, String value) throws IllegalArgumentException
- Specified by:
addPropertyin interfacejavax.portlet.PortletResponse- Throws:
IllegalArgumentException
-
setProperty
public void setProperty(String key, String value) throws IllegalArgumentException
- Specified by:
setPropertyin interfacejavax.portlet.PortletResponse- Throws:
IllegalArgumentException
-
addProperty
public void addProperty(javax.servlet.http.Cookie cookie)
- Specified by:
addPropertyin interfacejavax.portlet.PortletResponse
-
addProperty
public void addProperty(String key, Element element)
- Specified by:
addPropertyin interfacejavax.portlet.PortletResponse
-
createElement
public Element createElement(String tagName) throws DOMException
- Specified by:
createElementin interfacejavax.portlet.PortletResponse- Throws:
DOMException
-
getNamespace
public String getNamespace()
- Specified by:
getNamespacein interfacejavax.portlet.PortletResponse
-
getRealResponse
public final javax.servlet.http.HttpServletResponseWrapper getRealResponse()
-
getProperties
protected final org.gatein.pc.api.invocation.response.ResponseProperties getProperties()
-
getProperties
protected final org.gatein.pc.api.invocation.response.ResponseProperties getProperties(boolean create)
-
-