📄 portletresponsewrapper.html
字号:
<TD><CODE>encodeRedirectUrl, encodeRedirectURL, encodeUrl, sendError, sendError, sendRedirect, setStatus, setStatus</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.servlet.ServletResponse"><!-- --></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.servlet.ServletResponse</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>flushBuffer, getBufferSize, getLocale, getOutputStream, isCommitted, reset, resetBuffer, setBufferSize, setContentLength, setContentType, setLocale</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="PortletResponseWrapper(org.apache.jetspeed.portlet.PortletResponse)"><!-- --></A><H3>PortletResponseWrapper</H3><PRE>public <B>PortletResponseWrapper</B>(<A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A> response)</PRE><DL><DD>Creates a PortletResponse adaptor wrapping the specified response object.<P><DT><B>Parameters:</B><DD><CODE>response</CODE> - the portlet response<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the response is null.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getPortletResponse()"><!-- --></A><H3>getPortletResponse</H3><PRE>protected <A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A> <B>getPortletResponse</B>()</PRE><DL><DD>Return the wrapped ServletResponse object.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="createURI()"><!-- --></A><H3>createURI</H3><PRE>public <A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletURI.html" title="interface in org.apache.jetspeed.portlet">PortletURI</A> <B>createURI</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></B></DD><DD>Creates a portlet URI pointing to the current portlet mode. The returned URI can be further extended by adding portlet-specific parameters and by attaching an action. Also, the portlet window will stay in the same state as before.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html#createURI()">createURI</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a portlet URI</DL></DD></DL><HR><A NAME="getContentType()"><!-- --></A><H3>getContentType</H3><PRE>public java.lang.String <B>getContentType</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></B></DD><DD>Returns the content type that can be used to contribute markup to the portlet response.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html#getContentType()">getContentType</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the content type</DL></DD></DL><HR><A NAME="createURI(org.apache.jetspeed.portlet.PortletWindow.State)"><!-- --></A><H3>createURI</H3><PRE>public <A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletURI.html" title="interface in org.apache.jetspeed.portlet">PortletURI</A> <B>createURI</B>(<A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletWindow.State.html" title="class in org.apache.jetspeed.portlet">PortletWindow.State</A> state)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></B></DD><DD>Creates a portlet URI pointing to the current portlet mode and given portlet window state. The returned URI can be further extended by adding portlet-specific parameters and by attaching an action.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html#createURI(org.apache.jetspeed.portlet.PortletWindow.State)">createURI</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>state</CODE> - the portlet window state<DT><B>Returns:</B><DD>a portlet URI</DL></DD></DL><HR><A NAME="getCharacterSet()"><!-- --></A><H3>getCharacterSet</H3><PRE>public java.lang.String <B>getCharacterSet</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></B></DD><DD>Returns the character set that can be used to contribute markup to the portlet response.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html#getCharacterSet()">getCharacterSet</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the character set</DL></DD></DL><HR><A NAME="encodeNamespace(java.lang.String)"><!-- --></A><H3>encodeNamespace</H3><PRE>public java.lang.String <B>encodeNamespace</B>(java.lang.String aValue)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></B></DD><DD>Maps the given string value into this portlet's namespace. Should be applied to every variable or name used in the output stream. For example, a parameter used in a form, or a function name in javascript.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html#encodeNamespace(java.lang.String)">encodeNamespace</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>aValue</CODE> - the name to be mapped<DT><B>Returns:</B><DD>the mapped name</DL></DD></DL><HR><A NAME="createReturnURI()"><!-- --></A><H3>createReturnURI</H3><PRE>public <A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletURI.html" title="interface in org.apache.jetspeed.portlet">PortletURI</A> <B>createReturnURI</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></B></DD><DD>Creates a portlet URI pointing at the referrer of the portlet. This is normally the previous screen / URL shown in the browser. The returned URI can be further extended by adding portlet-specific parameters and/or by attaching an action. This method is very useful to return from the EDIT mode, for example.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html#createReturnURI()">createReturnURI</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a portlet URI</DL></DD></DL><HR><A NAME="encodeURI(java.lang.String)"><!-- --></A><H3>encodeURI</H3><PRE>public java.lang.String <B>encodeURI</B>(java.lang.String path)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></B></DD><DD>Returns the encoded URI of the resource at the given path. Encoding may include prefixing, conversion to absolute URL, WSRP rewriting etc.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html#encodeURI(java.lang.String)">encodeURI</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html" title="interface in org.apache.jetspeed.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>path</CODE> - the path to the resource<DT><B>Returns:</B><DD>the resource URI as string<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletResponse.html#encodeURL(java.lang.String)"><CODE>PortletResponse.encodeURL(java.lang.String)</CODE></A></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=3 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"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</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="../../../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</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-all.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="../../../../../../../com/ibm/wps/pe/pc/legacy/cmpf/PortletRequestWrapper.html" title="class in com.ibm.wps.pe.pc.legacy.cmpf"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="PortletResponseWrapper.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 + -