|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet
public abstract class CacheablePortlet
The abstract CacheablePortlet
is used by the portlet container to
provide the CacheableServlet interface for portlets.
This class is part of the public portlet API because the public class
Portlet
is derived from it, and so, implcitly, all portlets written for the IBM portlet API.
This class should never be referenced explicitly. There is no need to do so
as this class only implements the caching support.
Constructor Summary | |
---|---|
CacheablePortlet()
Deprecated. Default constructor. |
Method Summary | |
---|---|
abstract java.lang.String |
getId(javax.servlet.http.HttpServletRequest request)
Deprecated. This method is used by the WebSphere Dynacache to generate a cache ID. |
abstract long |
getLastModified(org.apache.jetspeed.portlet.PortletRequest request)
Deprecated. Returns the time the response of the CacheablePortlet
object was last modified,
in milliseconds since midnight January 1, 1970 GMT. |
int |
getSharingPolicy(javax.servlet.http.HttpServletRequest request)
Deprecated. This returns the sharing policy used for this cache entry. |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated. This method is used internally to invoke the portlet as a servlet. |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheablePortlet()
Method Detail |
---|
public abstract java.lang.String getId(javax.servlet.http.HttpServletRequest request)
getId
in interface com.ibm.websphere.servlet.cache.CacheableServlet
request
- The HTTP request object.
public int getSharingPolicy(javax.servlet.http.HttpServletRequest request)
getSharingPolicy
in interface com.ibm.websphere.servlet.cache.CacheableServlet
request
- The HTTP request object.
public abstract long getLastModified(org.apache.jetspeed.portlet.PortletRequest request)
CacheablePortlet
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).
Portlet
and can be overridden by portlets.
request
- the PortletRequest
object that is sent to the portlet
long
integer specifying
the time the response of the Cacheable
object was last modified, in milliseconds
since midnight, January 1, 1970 GMT, or
-1 if the time is not knownprotected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |