|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
org.apache.pluto.internal.impl.PortletRequestImpl
org.apache.pluto.internal.impl.RenderRequestImpl
public class RenderRequestImpl
Implementation of the javax.portlet.RenderRequest interface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.portlet.PortletRequest |
|---|
PortletRequest.P3PUserInfos |
| Nested classes/interfaces inherited from interface javax.portlet.PortletRequest |
|---|
PortletRequest.P3PUserInfos |
| Nested classes/interfaces inherited from interface javax.portlet.PortletRequest |
|---|
PortletRequest.P3PUserInfos |
| Field Summary |
|---|
| Fields inherited from class org.apache.pluto.internal.impl.PortletRequestImpl |
|---|
container, internalPortletWindow |
| Fields inherited from interface javax.portlet.PortletRequest |
|---|
ACTION_PHASE, ACTION_SCOPE_ID, BASIC_AUTH, CCPP_PROFILE, CLIENT_CERT_AUTH, DIGEST_AUTH, EVENT_PHASE, FORM_AUTH, LIFECYCLE_PHASE, RENDER_HEADERS, RENDER_MARKUP, RENDER_PART, RENDER_PHASE, RESOURCE_PHASE, USER_INFO |
| Fields inherited from interface javax.portlet.PortletRequest |
|---|
ACTION_PHASE, ACTION_SCOPE_ID, BASIC_AUTH, CCPP_PROFILE, CLIENT_CERT_AUTH, DIGEST_AUTH, EVENT_PHASE, FORM_AUTH, LIFECYCLE_PHASE, RENDER_HEADERS, RENDER_MARKUP, RENDER_PART, RENDER_PHASE, RESOURCE_PHASE, USER_INFO |
| Fields inherited from interface javax.portlet.PortletRequest |
|---|
ACTION_PHASE, ACTION_SCOPE_ID, BASIC_AUTH, CCPP_PROFILE, CLIENT_CERT_AUTH, DIGEST_AUTH, EVENT_PHASE, FORM_AUTH, LIFECYCLE_PHASE, RENDER_HEADERS, RENDER_MARKUP, RENDER_PART, RENDER_PHASE, RESOURCE_PHASE, USER_INFO |
| Fields inherited from interface javax.servlet.http.HttpServletRequest |
|---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
| Constructor Summary | |
|---|---|
RenderRequestImpl(InternalPortletRequest request)
|
|
RenderRequestImpl(PortletContainer container,
InternalPortletWindow internalPortletWindow,
javax.servlet.http.HttpServletRequest servletRequest)
|
|
| Method Summary | |
|---|---|
protected java.util.Map |
baseGetParameterMap()
The base method that returns the parameter map in this portlet request. |
java.lang.String |
getCharacterEncoding()
|
int |
getContentLength()
Checks the included flag and returns the content length. |
java.lang.String |
getContentType()
Checks the included flag and returns the content type. |
javax.servlet.http.Cookie[] |
getCookieProperties()
|
java.lang.String |
getETag()
Returns the validation tag if the portlet container has a cached response for this validation tag, or null if no cached response exists. |
javax.servlet.ServletInputStream |
getInputStream()
Checks the included flag and returns the input stream to this render response. |
java.lang.String |
getLifecyclePhase()
|
java.lang.String |
getMethod()
|
PortletPreferences |
getPreferences()
Returns the preferences object associated with the portlet. |
java.io.BufferedReader |
getReader()
Checks the included flag and returns the reader to this rende response. |
void |
setCharacterEncoding(java.lang.String encoding)
TODO: why check bodyAccessed? |
void |
setIncluded(boolean included)
Is set true when a jsp, servlet is included. |
void |
setIncludedQueryString(java.lang.String queryString)
|
| Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
|---|
isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL |
| Methods inherited from class javax.servlet.ServletRequestWrapper |
|---|
getRequest, setRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.pluto.internal.InternalPortletRequest |
|---|
getHttpServletRequest, getInternalPortletWindow, getPortletContainer, init, isForwarded, isIncluded, release, setAttribute, setForwarded, setForwardedQueryString |
| Constructor Detail |
|---|
public RenderRequestImpl(InternalPortletRequest request)
public RenderRequestImpl(PortletContainer container,
InternalPortletWindow internalPortletWindow,
javax.servlet.http.HttpServletRequest servletRequest)
| Method Detail |
|---|
public PortletPreferences getPreferences()
PortletRequest
getPreferences in interface PortletRequestgetPreferences in class PortletRequestImplpublic java.lang.String getContentType()
getContentType in interface javax.servlet.ServletRequestgetContentType in class javax.servlet.ServletRequestWrapperpublic int getContentLength()
getContentLength in interface javax.servlet.ServletRequestgetContentLength in class javax.servlet.ServletRequestWrapper
public java.io.BufferedReader getReader()
throws java.io.UnsupportedEncodingException,
java.io.IOException
getReader in interface javax.servlet.ServletRequestgetReader in class PortletRequestImpljava.io.UnsupportedEncodingException
java.io.IOException
public javax.servlet.ServletInputStream getInputStream()
throws java.io.IOException
getInputStream in interface javax.servlet.ServletRequestgetInputStream in class PortletRequestImpljava.io.IOExceptionprotected java.util.Map baseGetParameterMap()
PortletRequestImpl
baseGetParameterMap in class PortletRequestImplpublic void setIncluded(boolean included)
InternalPortletRequest
setIncluded in interface InternalPortletRequestsetIncluded in class PortletRequestImplincluded - true when included
public void setIncludedQueryString(java.lang.String queryString)
throws java.lang.IllegalStateException
setIncludedQueryString in interface InternalPortletRequestsetIncludedQueryString in class PortletRequestImpljava.lang.IllegalStateExceptionpublic java.lang.String getCharacterEncoding()
getCharacterEncoding in interface javax.servlet.ServletRequestgetCharacterEncoding in class javax.servlet.ServletRequestWrapper
public void setCharacterEncoding(java.lang.String encoding)
throws java.io.UnsupportedEncodingException
PortletRequestImpl
setCharacterEncoding in interface javax.servlet.ServletRequestsetCharacterEncoding in class PortletRequestImpljava.io.UnsupportedEncodingExceptionpublic java.lang.String getMethod()
getMethod in interface javax.servlet.http.HttpServletRequestgetMethod in class javax.servlet.http.HttpServletRequestWrapperpublic java.lang.String getETag()
RenderRequestnull if no cached response exists.
This call returns the same value as
RenderRequest.getProperty(RenderRequest.ETAG).
getETag in interface RenderRequestnull if no cached response exists.public java.lang.String getLifecyclePhase()
getLifecyclePhase in interface InternalPortletRequestgetLifecyclePhase in class PortletRequestImplpublic javax.servlet.http.Cookie[] getCookieProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||