⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resourcerequestwrapper.html.svn-base

📁 portal越来越流行了
💻 SVN-BASE
📖 第 1 页 / 共 3 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/ResourceRequestWrapper.html#getMethod()">getMethod</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>getMethod()</code> on the wrapped request object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.io.InputStream</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/ResourceRequestWrapper.html#getPortletInputStream()">getPortletInputStream</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>getPortletInputStream()</code> on the wrapped request object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.Map&lt;java.lang.String,java.lang.String[]&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/ResourceRequestWrapper.html#getPrivateRenderParameterMap()">getPrivateRenderParameterMap</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>getPrivateRenderParameterMap()</code> on the wrapped request object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.io.BufferedReader</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/ResourceRequestWrapper.html#getReader()">getReader</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>getReader()</code> on the wrapped request object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/portlet/ResourceRequest.html" title="interface in javax.portlet">ResourceRequest</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/ResourceRequestWrapper.html#getRequest()">getRequest</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the wrapped request object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/ResourceRequestWrapper.html#getResourceID()">getResourceID</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>getResourceID()</code> on the wrapped request object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/ResourceRequestWrapper.html#setCharacterEncoding(java.lang.String)">setCharacterEncoding</A></B>(java.lang.String&nbsp;enc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>setCharacterEncoding(String enc)</code>  on the wrapped request object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/ResourceRequestWrapper.html#setRequest(javax.portlet.ResourceRequest)">setRequest</A></B>(<A HREF="../../../javax/portlet/ResourceRequest.html" title="interface in javax.portlet">ResourceRequest</A>&nbsp;request)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the request object being wrapped.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.portlet.filter.PortletRequestWrapper"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.portlet.filter.<A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html" title="class in javax.portlet.filter">PortletRequestWrapper</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getAttribute(java.lang.String)">getAttribute</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getAttributeNames()">getAttributeNames</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getAuthType()">getAuthType</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getContextPath()">getContextPath</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getCookies()">getCookies</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getLocale()">getLocale</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getLocales()">getLocales</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getParameter(java.lang.String)">getParameter</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getParameterMap()">getParameterMap</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getParameterNames()">getParameterNames</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getParameterValues(java.lang.String)">getParameterValues</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getPortalContext()">getPortalContext</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getPortletMode()">getPortletMode</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getPortletSession()">getPortletSession</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getPortletSession(boolean)">getPortletSession</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getPreferences()">getPreferences</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getPrivateParameterMap()">getPrivateParameterMap</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getProperties(java.lang.String)">getProperties</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getProperty(java.lang.String)">getProperty</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getPropertyNames()">getPropertyNames</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getPublicParameterMap()">getPublicParameterMap</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getRemoteUser()">getRemoteUser</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getRequestedSessionId()">getRequestedSessionId</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getResponseContentType()">getResponseContentType</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getResponseContentTypes()">getResponseContentTypes</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getScheme()">getScheme</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getServerName()">getServerName</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getServerPort()">getServerPort</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getUserPrincipal()">getUserPrincipal</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getWindowID()">getWindowID</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getWindowState()">getWindowState</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#isPortletModeAllowed(javax.portlet.PortletMode)">isPortletModeAllowed</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#isRequestedSessionIdValid()">isRequestedSessionIdValid</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#isSecure()">isSecure</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#isUserInRole(java.lang.String)">isUserInRole</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#isWindowStateAllowed(javax.portlet.WindowState)">isWindowStateAllowed</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#removeAttribute(java.lang.String)">removeAttribute</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#setAttribute(java.lang.String, java.lang.Object)">setAttribute</A>, <A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#setRequest(javax.portlet.PortletRequest)">setRequest</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.portlet.ResourceRequest"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface javax.portlet.<A HREF="../../../javax/portlet/ResourceRequest.html" title="interface in javax.portlet">ResourceRequest</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/portlet/ResourceRequest.html#getResponseContentType()">getResponseContentType</A>, <A HREF="../../../javax/portlet/ResourceRequest.html#getResponseContentTypes()">getResponseContentTypes</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.portlet.PortletRequest"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface javax.portlet.<A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getAttribute(java.lang.String)">getAttribute</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getAttributeNames()">getAttributeNames</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getAuthType()">getAuthType</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getContextPath()">getContextPath</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getCookies()">getCookies</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getLocale()">getLocale</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getLocales()">getLocales</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getParameter(java.lang.String)">getParameter</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getParameterMap()">getParameterMap</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getParameterNames()">getParameterNames</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getParameterValues(java.lang.String)">getParameterValues</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getPortalContext()">getPortalContext</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getPortletMode()">getPortletMode</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getPortletSession()">getPortletSession</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getPortletSession(boolean)">getPortletSession</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getPreferences()">getPreferences</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getPrivateParameterMap()">getPrivateParameterMap</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getProperties(java.lang.String)">getProperties</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getProperty(java.lang.String)">getProperty</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getPropertyNames()">getPropertyNames</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getPublicParameterMap()">getPublicParameterMap</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getRemoteUser()">getRemoteUser</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getRequestedSessionId()">getRequestedSessionId</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getScheme()">getScheme</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getServerName()">getServerName</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getServerPort()">getServerPort</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getUserPrincipal()">getUserPrincipal</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getWindowID()">getWindowID</A>, <A HREF="../../../javax/portlet/PortletRequest.html#getWindowState()">getWindowState</A>, <A HREF="../../../javax/portlet/PortletRequest.html#isPortletModeAllowed(javax.portlet.PortletMode)">isPortletModeAllowed</A>, <A HREF="../../../javax/portlet/PortletRequest.html#isRequestedSessionIdValid()">isRequestedSessionIdValid</A>, <A HREF="../../../javax/portlet/PortletRequest.html#isSecure()">isSecure</A>, <A HREF="../../../javax/portlet/PortletRequest.html#isUserInRole(java.lang.String)">isUserInRole</A>, <A HREF="../../../javax/portlet/PortletRequest.html#isWindowStateAllowed(javax.portlet.WindowState)">isWindowStateAllowed</A>, <A HREF="../../../javax/portlet/PortletRequest.html#removeAttribute(java.lang.String)">removeAttribute</A>, <A HREF="../../../javax/portlet/PortletRequest.html#setAttribute(java.lang.String, java.lang.Object)">setAttribute</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="ResourceRequestWrapper(javax.portlet.ResourceRequest)"><!-- --></A><H3>ResourceRequestWrapper</H3><PRE>public <B>ResourceRequestWrapper</B>(<A HREF="../../../javax/portlet/ResourceRequest.html" title="interface in javax.portlet">ResourceRequest</A>&nbsp;request)</PRE><DL><DD>Creates an <code>ResourceRequest</code> adaptor  wrapping the given request object.<P><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the resource request to wrap<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the request is <code>null</code></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getPortletInputStream()"><!-- --></A><H3>getPortletInputStream</H3><PRE>public java.io.InputStream <B>getPortletInputStream</B>()                                          throws java.io.IOException</PRE><DL><DD>The default behavior of this method is to call  <code>getPortletInputStream()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ClientDataRequest.html#getPortletInputStream()">getPortletInputStream</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ClientDataRequest.html" title="interface in javax.portlet">ClientDataRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an input stream containing the body of the request<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an input or output exception occurred</DL></DD></DL><HR><A NAME="getReader()"><!-- --></A><H3>getReader</H3><PRE>public java.io.BufferedReader <B>getReader</B>()                                 throws java.io.UnsupportedEncodingException,                                        java.io.IOException</PRE><DL><DD>The default behavior of this method is to call  <code>getReader()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ClientDataRequest.html#getReader()">getReader</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ClientDataRequest.html" title="interface in javax.portlet">ClientDataRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code>BufferedReader</code>      containing the body of the request<DT><B>Throws:</B><DD><CODE>java.io.UnsupportedEncodingException</CODE> - if the character set encoding used is            not supported and the text cannot be decoded<DD><CODE>java.io.IOException</CODE> - if an input or output exception occurred<DT><B>See Also:</B><DD><A HREF="../../../javax/portlet/ClientDataRequest.html#getPortletInputStream()"><CODE>ClientDataRequest.getPortletInputStream()</CODE></A></DL></DD></DL><HR><A NAME="setCharacterEncoding(java.lang.String)"><!-- --></A><H3>setCharacterEncoding</H3><PRE>public void <B>setCharacterEncoding</B>(java.lang.String&nbsp;enc)                          throws java.io.UnsupportedEncodingException</PRE><DL><DD>The default behavior of this method is to call  <code>setCharacterEncoding(String enc)</code>  on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ClientDataRequest.html#setCharacterEncoding(java.lang.String)">setCharacterEncoding</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ClientDataRequest.html" title="interface in javax.portlet">ClientDataRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>enc</CODE> - a <code>String</code> containing the name of           the character encoding.<DT><B>Throws:</B><DD><CODE>java.io.UnsupportedEncodingException</CODE> - if this is not a valid encoding</DL></DD></DL><HR><A NAME="getRequest()"><!-- --></A><H3>getRequest</H3><PRE>public <A HREF="../../../javax/portlet/ResourceRequest.html" title="interface in javax.portlet">ResourceRequest</A> <B>getRequest</B>()</PRE><DL><DD>Return the wrapped request object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html#getRequest()">getRequest</A></CODE> in class <CODE><A HREF="../../../javax/portlet/filter/PortletRequestWrapper.html" title="class in javax.portlet.filter">PortletRequestWrapper</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the wrapped request</DL></DD></DL><HR><A NAME="setRequest(javax.portlet.ResourceRequest)"><!-- --></A><H3>setRequest</H3><PRE>public void <B>setRequest</B>(<A HREF="../../../javax/portlet/ResourceRequest.html" title="interface in javax.portlet">ResourceRequest</A>&nbsp;request)</PRE>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -