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

📄 portletrequestwrapper.html.svn-base

📁 portal越来越流行了
💻 SVN-BASE
📖 第 1 页 / 共 5 页
字号:
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="PortletRequestWrapper(javax.portlet.PortletRequest)"><!-- --></A><H3>PortletRequestWrapper</H3><PRE>public <B>PortletRequestWrapper</B>(<A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A>&nbsp;request)</PRE><DL><DD>Creates an <code>PortletRequest</code> adaptor  wrapping the given request object.<P><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet 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="getAttribute(java.lang.String)"><!-- --></A><H3>getAttribute</H3><PRE>public java.lang.Object <B>getAttribute</B>(java.lang.String&nbsp;name)</PRE><DL><DD>The default behavior of this method is to call  <code>getAttribute(String name)</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getAttribute(java.lang.String)">getAttribute</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a <code>String</code> specifying the name of                         the attribute<DT><B>Returns:</B><DD>an <code>Object</code> containing the value                         of the attribute, or <code>null</code> if                        the attribute does not exist.</DL></DD></DL><HR><A NAME="getAttributeNames()"><!-- --></A><H3>getAttributeNames</H3><PRE>public java.util.Enumeration&lt;java.lang.String&gt; <B>getAttributeNames</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getAttributeNames()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getAttributeNames()">getAttributeNames</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an <code>Enumeration</code> of strings                         containing the names                         of the request attributes, or an empty                     <code>Enumeration</code> if the request                     has no attributes available to it.</DL></DD></DL><HR><A NAME="getAuthType()"><!-- --></A><H3>getAuthType</H3><PRE>public java.lang.String <B>getAuthType</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getAuthType()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getAuthType()">getAuthType</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>one of the static members <code>BASIC_AUTH</code>,                         <code>FORM_AUTH</code>, <code>CLIENT_CERT_AUTH</code>,                     <code>DIGEST_AUTH</code> (suitable for == comparison)                         indicating the authentication scheme,                     a custom one, or                         <code>null</code> if the request was                         not authenticated.</DL></DD></DL><HR><A NAME="getContextPath()"><!-- --></A><H3>getContextPath</H3><PRE>public java.lang.String <B>getContextPath</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getContextPath()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getContextPath()">getContextPath</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code>String</code> specifying the                        portion of the request URL that indicates the context                        of the request<DT><B>See Also:</B><DD><A HREF="../../../javax/portlet/PortletResponse.html#encodeURL(java.lang.String)"><CODE>PortletResponse.encodeURL(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="getLocale()"><!-- --></A><H3>getLocale</H3><PRE>public java.util.Locale <B>getLocale</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getLocale()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getLocale()">getLocale</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the preferred Locale in which the portal will accept content.</DL></DD></DL><HR><A NAME="getLocales()"><!-- --></A><H3>getLocales</H3><PRE>public java.util.Enumeration&lt;java.util.Locale&gt; <B>getLocales</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getLocales()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getLocales()">getLocales</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an Enumeration of Locales, in decreasing order, in which            the portal will accept content for this request</DL></DD></DL><HR><A NAME="getParameter(java.lang.String)"><!-- --></A><H3>getParameter</H3><PRE>public java.lang.String <B>getParameter</B>(java.lang.String&nbsp;name)</PRE><DL><DD>The default behavior of this method is to call  <code>getParameter(String name)</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getParameter(java.lang.String)">getParameter</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a <code>String</code> specifying the                         name of the parameter<DT><B>Returns:</B><DD>a <code>String</code> representing the                         single value of the parameter<DT><B>See Also:</B><DD><A HREF="../../../javax/portlet/PortletRequest.html#getParameterValues(java.lang.String)"><CODE>PortletRequest.getParameterValues(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="getParameterMap()"><!-- --></A><H3>getParameterMap</H3><PRE>public java.util.Map&lt;java.lang.String,java.lang.String[]&gt; <B>getParameterMap</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getParameterMap()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getParameterMap()">getParameterMap</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an immutable <code>Map</code> containing parameter names as              keys and parameter values as map values, or an empty <code>Map</code>             if no parameters exist. The keys in the parameter             map are of type String. The values in the parameter map are of type             String array (<code>String[]</code>).</DL></DD></DL><HR><A NAME="getParameterNames()"><!-- --></A><H3>getParameterNames</H3><PRE>public java.util.Enumeration&lt;java.lang.String&gt; <B>getParameterNames</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getParameterNames()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getParameterNames()">getParameterNames</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an <code>Enumeration</code> of <code>String</code>                        objects, each <code>String</code> containing                        the name of a request parameter; or an                         empty <code>Enumeration</code> if the                        request has no parameters.</DL></DD></DL><HR><A NAME="getParameterValues(java.lang.String)"><!-- --></A><H3>getParameterValues</H3><PRE>public java.lang.String[] <B>getParameterValues</B>(java.lang.String&nbsp;name)</PRE><DL><DD>The default behavior of this method is to call  <code>getParameterValues(name)</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getParameterValues(java.lang.String)">getParameterValues</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a <code>String</code> containing the name of                         the parameter the value of which is requested<DT><B>Returns:</B><DD>an array of <code>String</code> objects                         containing the parameter values.<DT><B>See Also:</B><DD><A HREF="../../../javax/portlet/PortletRequest.html#getParameter(java.lang.String)"><CODE>PortletRequest.getParameter(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="getPortalContext()"><!-- --></A><H3>getPortalContext</H3><PRE>public <A HREF="../../../javax/portlet/PortalContext.html" title="interface in javax.portlet">PortalContext</A> <B>getPortalContext</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getPortalContext()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getPortalContext()">getPortalContext</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the context of the calling portal</DL></DD></DL><HR><A NAME="getPortletMode()"><!-- --></A><H3>getPortletMode</H3><PRE>public <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A> <B>getPortletMode</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getPortletMode()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getPortletMode()">getPortletMode</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the portlet mode</DL></DD></DL><HR><A NAME="getPortletSession()"><!-- --></A><H3>getPortletSession</H3><PRE>public <A HREF="../../../javax/portlet/PortletSession.html" title="interface in javax.portlet">PortletSession</A> <B>getPortletSession</B>()</PRE><DL><DD>The default behavior of this method is to call 

⌨️ 快捷键说明

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