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

📄 cacheableportlet.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<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="CacheablePortlet()"><!-- --></A><H3>CacheablePortlet</H3><PRE>public <B>CacheablePortlet</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Default constructor. This constructor must not be called by application code.<P></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="getId(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>getId</H3><PRE>public abstract java.lang.String <B>getId</B>(javax.servlet.http.HttpServletRequest&nbsp;request)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>This method is used by the WebSphere Dynacache to generate a cache ID. It must not be overridden by portlets.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getId</CODE> in interface <CODE>com.ibm.websphere.servlet.cache.CacheableServlet</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - The HTTP request object.<DT><B>Returns:</B><DD>The cache id. A null indicates that the portlet should not be cached.</DL></DD></DL><HR><A NAME="getSharingPolicy(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>getSharingPolicy</H3><PRE>public int <B>getSharingPolicy</B>(javax.servlet.http.HttpServletRequest&nbsp;request)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>This returns the sharing policy used for this cache entry. It must not be overridden by portlets. <br> Portlets always use SHARED_PULL (shared between multiple VMs and requested via pull).<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getSharingPolicy</CODE> in interface <CODE>com.ibm.websphere.servlet.cache.CacheableServlet</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - The HTTP request object.<DT><B>Returns:</B><DD>The sharing policy</DL></DD></DL><HR><A NAME="getLastModified(org.apache.jetspeed.portlet.PortletRequest)"><!-- --></A><H3>getLastModified</H3><PRE>public abstract long <B>getLastModified</B>(<A HREF="../../../../../../../org/apache/jetspeed/portlet/PortletRequest.html" title="interface in org.apache.jetspeed.portlet">PortletRequest</A>&nbsp;request)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Returns the time the response of the <code>CacheablePortlet</code> object was last modified, in milliseconds since midnight January 1, 1970 GMT. If the time is unknown, this method returns a negative number (the default). <br> This method is implemented in <A HREF="../../../../../../../org/apache/jetspeed/portlet/Portlet.html" title="class in org.apache.jetspeed.portlet"><CODE>Portlet</CODE></A>  and can be overridden by portlets. <br> Portlets that can quickly determine their last modification time should override this method. This makes browser and proxy caches work more effectively, reducing the load on server and network resources.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the <code>PortletRequest</code>                object that is sent to the portlet<DT><B>Returns:</B><DD>a <code>long</code> integer specifying         the time the response of the <code>Cacheable</code>         object was last modified, in milliseconds         since midnight, January 1, 1970 GMT, or         -1 if the time is not known</DL></DD></DL><HR><A NAME="service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>service</H3><PRE>protected void <B>service</B>(javax.servlet.http.HttpServletRequest&nbsp;request,                       javax.servlet.http.HttpServletResponse&nbsp;response)                throws javax.servlet.ServletException,                       java.io.IOException</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>This method is used internally to invoke the portlet as a servlet. It must not be overridden by portlets.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>javax.servlet.ServletException</CODE><DD><CODE>java.io.IOException</CODE></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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="CacheablePortlet.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -