public interface ServletCacheRequest
extends javax.servlet.http.HttpServletRequest
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAttribute(java.lang.String key)
This returns the request attribute with the specified key.
|
java.util.Hashtable |
getAttributeTable()
This returns a Hashtable containing the request attributes
as they were just prior to exectuion of the entry.
|
FragmentInfo |
getFragmentInfo()
This returns the FragmentInfo for this entry,
which contains the caching metadata for the entry.
|
boolean |
getInclude()
This gets the include variable.
|
boolean |
isUncacheable()
This returns true if the page is uncacheable
|
void |
setAttribute(java.lang.String key,
java.lang.Object value)
This sets the request attribute key-value pair.
|
void |
setGeneratingId(boolean b)
This method prepares the javax.servlet.ServletInputStream to be read by the IdGenerator.
|
void |
setUncacheable(boolean value)
This sets the page to be uncachebale
|
authenticate, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logoutgetAsyncContext, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setCharacterEncoding, startAsync, startAsyncFragmentInfo getFragmentInfo()
boolean getInclude()
java.util.Hashtable getAttributeTable()
java.lang.Object getAttribute(java.lang.String key)
getAttribute in interface javax.servlet.ServletRequestkey - The attribute key.void setAttribute(java.lang.String key,
java.lang.Object value)
setAttribute in interface javax.servlet.ServletRequestkey - The attribute key.value - The attribute value.void setUncacheable(boolean value)
value - True if the page is to be set as uncacheableboolean isUncacheable()
void setGeneratingId(boolean b)
Usage example:
servletCacheRequest.setGeneratingId(true);
InputStream in = servletCacheRequest.getInputStream();
:
servletCacheRequest.setGeneratingId(false);
b - True or false