📄 portletrequestwrapper.html.svn-base
字号:
<code>getPortletSession()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getPortletSession()">getPortletSession</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 session</DL></DD></DL><HR><A NAME="getPortletSession(boolean)"><!-- --></A><H3>getPortletSession</H3><PRE>public <A HREF="../../../javax/portlet/PortletSession.html" title="interface in javax.portlet">PortletSession</A> <B>getPortletSession</B>(boolean create)</PRE><DL><DD>The default behavior of this method is to call <code>getPortletSession(create)</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getPortletSession(boolean)">getPortletSession</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>create</CODE> - <CODE>true</CODE> to create a new session, <BR> <CODE>false</CODE> to return <CODE>null</CODE> if there is no current session<DT><B>Returns:</B><DD>the portlet session</DL></DD></DL><HR><A NAME="getPreferences()"><!-- --></A><H3>getPreferences</H3><PRE>public <A HREF="../../../javax/portlet/PortletPreferences.html" title="interface in javax.portlet">PortletPreferences</A> <B>getPreferences</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getPreferences()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getPreferences()">getPreferences</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 preferences</DL></DD></DL><HR><A NAME="getProperties(java.lang.String)"><!-- --></A><H3>getProperties</H3><PRE>public java.util.Enumeration<java.lang.String> <B>getProperties</B>(java.lang.String name)</PRE><DL><DD>The default behavior of this method is to call <code>getProperteis(name)</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getProperties(java.lang.String)">getProperties</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 property name<DT><B>Returns:</B><DD>a <code>Enumeration</code> containing the values of the requested property. If the request does not have any properties of that name return an empty <code>Enumeration</code>.</DL></DD></DL><HR><A NAME="getProperty(java.lang.String)"><!-- --></A><H3>getProperty</H3><PRE>public java.lang.String <B>getProperty</B>(java.lang.String name)</PRE><DL><DD>The default behavior of this method is to call <code>getProperty(name)</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getProperty(java.lang.String)">getProperty</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 property name<DT><B>Returns:</B><DD>a <code>String</code> containing the value of the requested property, or <code>null</code> if the request does not have a property of that name.</DL></DD></DL><HR><A NAME="getPropertyNames()"><!-- --></A><H3>getPropertyNames</H3><PRE>public java.util.Enumeration<java.lang.String> <B>getPropertyNames</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getPropertyNames()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getPropertyNames()">getPropertyNames</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 all the property names sent with this request; if the request has no properties, an empty <code>Enumeration</code>.</DL></DD></DL><HR><A NAME="getRemoteUser()"><!-- --></A><H3>getRemoteUser</H3><PRE>public java.lang.String <B>getRemoteUser</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getRemoteUser()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getRemoteUser()">getRemoteUser</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 login of the user making this request, or <code>null</code> if the user login is not known.</DL></DD></DL><HR><A NAME="getRequestedSessionId()"><!-- --></A><H3>getRequestedSessionId</H3><PRE>public java.lang.String <B>getRequestedSessionId</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getRequestedSessionId()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getRequestedSessionId()">getRequestedSessionId</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 session ID, or <code>null</code> if the request did not specify a session ID<DT><B>See Also:</B><DD><A HREF="../../../javax/portlet/PortletRequest.html#isRequestedSessionIdValid()"><CODE>PortletRequest.isRequestedSessionIdValid()</CODE></A></DL></DD></DL><HR><A NAME="getResponseContentType()"><!-- --></A><H3>getResponseContentType</H3><PRE>public java.lang.String <B>getResponseContentType</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getResponseContentType()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getResponseContentType()">getResponseContentType</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>preferred MIME type of the response</DL></DD></DL><HR><A NAME="getResponseContentTypes()"><!-- --></A><H3>getResponseContentTypes</H3><PRE>public java.util.Enumeration<java.lang.String> <B>getResponseContentTypes</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getResponseContentTypes()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getResponseContentTypes()">getResponseContentTypes</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>ordered list of MIME types for the response</DL></DD></DL><HR><A NAME="getScheme()"><!-- --></A><H3>getScheme</H3><PRE>public java.lang.String <B>getScheme</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getScheme()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getScheme()">getScheme</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> containing the name of the scheme used to make this request</DL></DD></DL><HR><A NAME="getServerName()"><!-- --></A><H3>getServerName</H3><PRE>public java.lang.String <B>getServerName</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getServerName()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getServerName()">getServerName</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> containing the name of the server to which the request was sent</DL></DD></DL><HR><A NAME="getServerPort()"><!-- --></A><H3>getServerPort</H3><PRE>public int <B>getServerPort</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getServerPort()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getServerPort()">getServerPort</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 integer specifying the port number</DL></DD></DL><HR><A NAME="getUserPrincipal()"><!-- --></A><H3>getUserPrincipal</H3><PRE>public java.security.Principal <B>getUserPrincipal</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getUserPrincipal()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getUserPrincipal()">getUserPrincipal</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>java.security.Principal</code> containing the name of the user making this request, or <code>null</code> if the user has not been authenticated.</DL></DD></DL><HR><A NAME="getWindowID()"><!-- --></A><H3>getWindowID</H3><PRE>public java.lang.String <B>getWindowID</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getWindowId()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletRequest.html#getWindowID()">getWindowID</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletRequest.html" title="interface in javax.portlet">PortletRequest</A></CODE></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -