📄 resourcerequestwrapper.html.svn-base
字号:
<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="getCharacterEncoding()"><!-- --></A><H3>getCharacterEncoding</H3><PRE>public java.lang.String <B>getCharacterEncoding</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getCharacterEncoding()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ClientDataRequest.html#getCharacterEncoding()">getCharacterEncoding</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>String</code> containing the name of the character encoding, or <code>null</code> if the request does not specify a character encoding.</DL></DD></DL><HR><A NAME="getContentLength()"><!-- --></A><H3>getContentLength</H3><PRE>public int <B>getContentLength</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getContentLength()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ClientDataRequest.html#getContentLength()">getContentLength</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 integer containing the length of the request body or -1 if the length is not known</DL></DD></DL><HR><A NAME="getContentType()"><!-- --></A><H3>getContentType</H3><PRE>public java.lang.String <B>getContentType</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getContentType()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ClientDataRequest.html#getContentType()">getContentType</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>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="getETag()"><!-- --></A><H3>getETag</H3><PRE>public java.lang.String <B>getETag</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getETag()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ResourceRequest.html#getETag()">getETag</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ResourceRequest.html" title="interface in javax.portlet">ResourceRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the validation tag if the portlet container has a cached response for this validation tag, or <code>null</code> if no cached response exists.</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><HR><A NAME="getResourceID()"><!-- --></A><H3>getResourceID</H3><PRE>public java.lang.String <B>getResourceID</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getResourceID()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ResourceRequest.html#getResourceID()">getResourceID</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ResourceRequest.html" title="interface in javax.portlet">ResourceRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the resource ID set on the ResourceURL,or <code>null</code> if no resource ID was set on the URL.</DL></DD></DL><HR><A NAME="getPrivateRenderParameterMap()"><!-- --></A><H3>getPrivateRenderParameterMap</H3><PRE>public java.util.Map<java.lang.String,java.lang.String[]> <B>getPrivateRenderParameterMap</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getPrivateRenderParameterMap()</code> on the wrapped request object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ResourceRequest.html#getPrivateRenderParameterMap()">getPrivateRenderParameterMap</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ResourceRequest.html" title="interface in javax.portlet">ResourceRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an immutable <code>Map</code> containing private parameter names as keys and private parameter values as map values, or an empty <code>Map</code> if no private 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="getCacheability()"><!-- --></A><H3>getCacheability</H3><PRE>public java.lang.String <B>getCacheability</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getCacheability()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ResourceRequest.html#getCacheability()">getCacheability</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ResourceRequest.html" title="interface in javax.portlet">ResourceRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the cache level of this resource request.</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/ResourceRequestWrapper.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/ResourceFilter.html" title="interface in javax.portlet.filter"><B>PREV CLASS</B></A> <A HREF="../../../javax/portlet/filter/ResourceResponseWrapper.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/ResourceRequestWrapper.html" target="_top"><B>FRAMES</B></A> <A HREF="ResourceRequestWrapper.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 + -