|
||||||||||
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 |
Field Summary |
---|
Fields inherited from class org.apache.pluto.internal.impl.PortletRequestImpl |
---|
container, internalPortletWindow |
Fields inherited from interface javax.portlet.RenderRequest |
---|
ETAG |
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 Map |
baseGetParameterMap()
The base method that returns the parameter map in this portlet request. |
String |
getCharacterEncoding()
|
int |
getContentLength()
Checks the included flag and returns the content length. |
String |
getContentType()
Checks the included flag and returns the content type. |
javax.servlet.http.Cookie[] |
getCookieProperties()
|
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. |
String |
getLifecyclePhase()
|
String |
getMethod()
|
PortletPreferences |
getPreferences()
Returns the preferences object associated with the portlet. |
BufferedReader |
getReader()
Checks the included flag and returns the reader to this rende response. |
void |
setCharacterEncoding(String encoding)
TODO: why check bodyAccessed? |
void |
setIncluded(boolean included)
Is set true when a jsp, servlet is included. |
void |
setIncludedQueryString(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 PortletRequest
getPreferences
in class PortletRequestImpl
public String getContentType()
getContentType
in interface javax.servlet.ServletRequest
getContentType
in class javax.servlet.ServletRequestWrapper
public int getContentLength()
getContentLength
in interface javax.servlet.ServletRequest
getContentLength
in class javax.servlet.ServletRequestWrapper
public BufferedReader getReader() throws UnsupportedEncodingException, IOException
getReader
in interface javax.servlet.ServletRequest
getReader
in class PortletRequestImpl
UnsupportedEncodingException
IOException
public javax.servlet.ServletInputStream getInputStream() throws IOException
getInputStream
in interface javax.servlet.ServletRequest
getInputStream
in class PortletRequestImpl
IOException
protected Map baseGetParameterMap()
PortletRequestImpl
baseGetParameterMap
in class PortletRequestImpl
public void setIncluded(boolean included)
InternalPortletRequest
setIncluded
in interface InternalPortletRequest
setIncluded
in class PortletRequestImpl
included
- true when includedpublic void setIncludedQueryString(String queryString) throws IllegalStateException
setIncludedQueryString
in interface InternalPortletRequest
setIncludedQueryString
in class PortletRequestImpl
IllegalStateException
public String getCharacterEncoding()
getCharacterEncoding
in interface javax.servlet.ServletRequest
getCharacterEncoding
in class javax.servlet.ServletRequestWrapper
public void setCharacterEncoding(String encoding) throws UnsupportedEncodingException
PortletRequestImpl
setCharacterEncoding
in interface javax.servlet.ServletRequest
setCharacterEncoding
in class PortletRequestImpl
UnsupportedEncodingException
public String getMethod()
getMethod
in interface javax.servlet.http.HttpServletRequest
getMethod
in class javax.servlet.http.HttpServletRequestWrapper
public String getETag()
RenderRequest
null
if no cached response exists.
This call returns the same value as
RenderRequest.getProperty(RenderRequest.ETAG)
.
getETag
in interface RenderRequest
null
if no cached response exists.public String getLifecyclePhase()
getLifecyclePhase
in interface InternalPortletRequest
getLifecyclePhase
in class PortletRequestImpl
public javax.servlet.http.Cookie[] getCookieProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |