📄 actionrequestwrapper.html.svn-base
字号:
<DT><B>Returns:</B><DD>a <code>String</code> containing the name of the MIME type of the request, or null if the type is not known.</DL></DD></DL><HR><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 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/ActionRequest.html" title="interface in javax.portlet">ActionRequest</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.ActionRequest)"><!-- --></A><H3>setRequest</H3><PRE>public void <B>setRequest</B>(<A HREF="../../../javax/portlet/ActionRequest.html" title="interface in javax.portlet">ActionRequest</A> request)</PRE><DL><DD>Sets the request object being wrapped.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the request to set<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the request is null.</DL></DD></DL><HR><A NAME="getMethod()"><!-- --></A><H3>getMethod</H3><PRE>public java.lang.String <B>getMethod</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getMethod()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ClientDataRequest.html#getMethod()">getMethod</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 String specifying the name of the HTTP method with which this request was made</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ActionRequestWrapper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/portlet/filter/ActionFilter.html" title="interface in javax.portlet.filter"><B>PREV CLASS</B></A> <A HREF="../../../javax/portlet/filter/ActionResponseWrapper.html" title="class in javax.portlet.filter"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?javax/portlet/filter/ActionRequestWrapper.html" target="_top"><B>FRAMES</B></A> <A HREF="ActionRequestWrapper.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -