|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.portlet.impl.jsr168.api.PortletResponseImpl
public abstract class PortletResponseImpl
| Field Summary | |
|---|---|
protected PortletInvocation |
invocation
. |
protected PortletRequestImpl |
preq
. |
| Constructor Summary | |
|---|---|
protected |
PortletResponseImpl(PortletInvocation invocation,
PortletRequestImpl preq)
|
| Method Summary | |
|---|---|
void |
addProperty(javax.servlet.http.Cookie cookie)
|
void |
addProperty(java.lang.String key,
org.w3c.dom.Element element)
|
void |
addProperty(java.lang.String key,
java.lang.String value)
Adds a String property to an existing key to be returned to the portal. |
org.w3c.dom.Element |
createElement(java.lang.String tagName)
|
java.lang.String |
encodeURL(java.lang.String url)
Returns the encoded URL of the resource, like servlets, JSPs, images and other static files, at the given path. |
java.lang.String |
getNamespace()
|
protected ResponseProperties |
getProperties()
|
protected ResponseProperties |
getProperties(boolean create)
|
javax.servlet.http.HttpServletResponseWrapper |
getRealResponse()
|
abstract PortletInvocationResponse |
getResponse()
|
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets a String property to be returned to the portal. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final PortletInvocation invocation
protected final PortletRequestImpl preq
| Constructor Detail |
|---|
protected PortletResponseImpl(PortletInvocation invocation,
PortletRequestImpl preq)
| Method Detail |
|---|
public abstract PortletInvocationResponse getResponse()
public java.lang.String encodeURL(java.lang.String url)
PortletResponseencodeURL method may include the session ID and other portal/portlet-container specific
information into the URL. If encoding is not needed, it returns the URL unchanged.
encodeURL in interface PortletResponseurl - the URI path to the resource. This must be either an absolute URL (e.g.
http://my.co/myportal/mywebap/myfolder/myresource.gif) or a full path URI (e.g.
/myportal/mywebap/myfolder/myresource.gif).
public void addProperty(java.lang.String key,
java.lang.String value)
throws java.lang.IllegalArgumentException
PortletResponse
addProperty in interface PortletResponsekey - the key of the property to be returned to the portalvalue - the value of the property to be returned to the portal
java.lang.IllegalArgumentException - if key is null.
public void setProperty(java.lang.String key,
java.lang.String value)
throws java.lang.IllegalArgumentException
PortletResponse
setProperty in interface PortletResponsekey - the key of the property to be returned to the portalvalue - the value of the property to be returned to the portal
java.lang.IllegalArgumentException - if key is null.public void addProperty(javax.servlet.http.Cookie cookie)
public void addProperty(java.lang.String key,
org.w3c.dom.Element element)
public org.w3c.dom.Element createElement(java.lang.String tagName)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic java.lang.String getNamespace()
public final javax.servlet.http.HttpServletResponseWrapper getRealResponse()
protected final ResponseProperties getProperties()
protected final ResponseProperties getProperties(boolean create)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||