|
||||||||||
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.
Field Summary |
---|
Fields inherited from interface javax.portlet.PortletRequest |
---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH, 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.ServletInputStream |
getInputStream()
Checks the included flag and returns the input stream to this render response. |
java.lang.String |
getMethod()
|
java.lang.String |
getPathInfo()
|
java.lang.String |
getPathTranslated()
TODO: check PLT.16.3.3. |
javax.portlet.PortletPreferences |
getPreferences()
|
java.lang.String |
getProtocol()
|
java.lang.String |
getQueryString()
|
java.io.BufferedReader |
getReader()
Checks the included flag and returns the reader to this rende response. |
java.lang.String |
getRealPath(java.lang.String path)
|
java.lang.String |
getRemoteAddr()
|
java.lang.String |
getRemoteHost()
|
java.lang.String |
getRequestURI()
|
java.lang.StringBuffer |
getRequestURL()
|
java.lang.String |
getServletPath()
|
boolean |
isIncluded()
|
void |
setCharacterEncoding(java.lang.String encoding)
TODO: why check bodyAccessed? |
void |
setIncluded(boolean included)
|
void |
setIncludedQueryString(java.lang.String queryString)
|
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
---|
getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getSession, getSession, 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, release |
Methods inherited from interface javax.portlet.PortletRequest |
---|
getAttribute, getAttributeNames, getAuthType, getContextPath, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getProperties, getProperty, getPropertyNames, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute |
Constructor Detail |
---|
public RenderRequestImpl(InternalPortletRequest request)
public RenderRequestImpl(PortletContainer container, InternalPortletWindow internalPortletWindow, javax.servlet.http.HttpServletRequest servletRequest)
Method Detail |
---|
public javax.portlet.PortletPreferences getPreferences()
getPreferences
in interface javax.portlet.PortletRequest
public java.lang.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 java.io.BufferedReader getReader() throws java.io.UnsupportedEncodingException, java.io.IOException
getReader
in interface javax.servlet.ServletRequest
getReader
in class PortletRequestImpl
java.io.UnsupportedEncodingException
java.io.IOException
public javax.servlet.ServletInputStream getInputStream() throws java.io.IOException
getInputStream
in interface javax.servlet.ServletRequest
getInputStream
in class PortletRequestImpl
java.io.IOException
protected java.util.Map baseGetParameterMap()
PortletRequestImpl
baseGetParameterMap
in class PortletRequestImpl
public void setIncluded(boolean included)
setIncluded
in interface InternalRenderRequest
public boolean isIncluded()
isIncluded
in interface InternalRenderRequest
public void setIncludedQueryString(java.lang.String queryString) throws java.lang.IllegalStateException
setIncludedQueryString
in interface InternalRenderRequest
java.lang.IllegalStateException
public java.lang.String getPathInfo()
getPathInfo
in interface javax.servlet.http.HttpServletRequest
getPathInfo
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getQueryString()
getQueryString
in interface javax.servlet.http.HttpServletRequest
getQueryString
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getPathTranslated()
getPathTranslated
in interface javax.servlet.http.HttpServletRequest
getPathTranslated
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getRequestURI()
getRequestURI
in interface javax.servlet.http.HttpServletRequest
getRequestURI
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getServletPath()
getServletPath
in interface javax.servlet.http.HttpServletRequest
getServletPath
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getProtocol()
getProtocol
in interface javax.servlet.ServletRequest
getProtocol
in class javax.servlet.ServletRequestWrapper
public java.lang.String getRemoteAddr()
getRemoteAddr
in interface javax.servlet.ServletRequest
getRemoteAddr
in class javax.servlet.ServletRequestWrapper
public java.lang.String getRemoteHost()
getRemoteHost
in interface javax.servlet.ServletRequest
getRemoteHost
in class javax.servlet.ServletRequestWrapper
public java.lang.String getRealPath(java.lang.String path)
getRealPath
in interface javax.servlet.ServletRequest
getRealPath
in class javax.servlet.ServletRequestWrapper
public java.lang.StringBuffer getRequestURL()
getRequestURL
in interface javax.servlet.http.HttpServletRequest
getRequestURL
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getCharacterEncoding()
getCharacterEncoding
in interface javax.servlet.ServletRequest
getCharacterEncoding
in class javax.servlet.ServletRequestWrapper
public void setCharacterEncoding(java.lang.String encoding) throws java.io.UnsupportedEncodingException
PortletRequestImpl
setCharacterEncoding
in interface javax.servlet.ServletRequest
setCharacterEncoding
in class PortletRequestImpl
java.io.UnsupportedEncodingException
public java.lang.String getMethod()
getMethod
in interface javax.servlet.http.HttpServletRequest
getMethod
in class javax.servlet.http.HttpServletRequestWrapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |