|
|||||||||
| Home >> All >> com >> opensymphony >> oscache >> web >> [ filter overview ] | PREV NEXT | ||||||||
A
- acceptsGZipEncoding(HttpServletRequest) - Method in class com.opensymphony.oscache.web.filter.CacheFilter
- Check if the client browser support gzip compression.
- addDateHeader(String, long) - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- Add the date of a header
- addHeader(String, String) - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- Add a header field
- admin - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
B
- bout - Variable in class com.opensymphony.oscache.web.filter.ResponseContent
C
- CacheFilter - class com.opensymphony.oscache.web.filter.CacheFilter.
- CacheFilter is a filter that allows for server-side caching of post-processed servlet content.
- CacheFilter() - Constructor for class com.opensymphony.oscache.web.filter.CacheFilter
- CacheHttpServletResponseWrapper - class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper.
- CacheServletResponse is a serialized representation of a response
- CacheHttpServletResponseWrapper(HttpServletResponse) - Constructor for class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- Constructor
- CacheHttpServletResponseWrapper(HttpServletResponse, boolean, long, long, long, long) - Constructor for class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- Constructor
- cacheControl - Variable in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- cacheControlMaxAge - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
- cacheGroupsProvider - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
- cacheKeyProvider - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
- cacheOut - Variable in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- cacheScope - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
- cachedWriter - Variable in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- We cache the printWriter so we can maintain a single instance of it no matter how many times it is requested.
- captureStream - Variable in class com.opensymphony.oscache.web.filter.SplitServletOutputStream
- com.opensymphony.oscache.web.filter - package com.opensymphony.oscache.web.filter
- Provides classes and interfaces that make up the base of OSCache's web application support.
- commit() - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- Called once the response has been written in its entirety.
- config - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
- content - Variable in class com.opensymphony.oscache.web.filter.ResponseContent
- contentEncoding - Variable in class com.opensymphony.oscache.web.filter.ResponseContent
- contentType - Variable in class com.opensymphony.oscache.web.filter.ResponseContent
- createCacheGroups(HttpServletRequest, ServletCacheAdministrator, Cache) - Method in class com.opensymphony.oscache.web.filter.CacheFilter
- createCacheGroups(HttpServletRequest, ServletCacheAdministrator, Cache) - Method in interface com.opensymphony.oscache.web.filter.ICacheGroupsProvider
- Creates the cache groups for the CacheFilter.
- createCacheKey(HttpServletRequest, ServletCacheAdministrator, Cache) - Method in class com.opensymphony.oscache.web.filter.CacheFilter
- createCacheKey(HttpServletRequest, ServletCacheAdministrator, Cache) - Method in interface com.opensymphony.oscache.web.filter.ICacheKeyProvider
- Creates the cache key for the CacheFilter.
- cron - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
D
- destroy() - Method in class com.opensymphony.oscache.web.filter.CacheFilter
- Filter clean-up
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.opensymphony.oscache.web.filter.CacheFilter
- The doFilter call caches the response by wrapping the
HttpServletResponseobject so that the output stream can be caught.
E
- EXPIRES_OFF - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- EXPIRES_ON - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- EXPIRES_TIME - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- ExpiresRefreshPolicy - class com.opensymphony.oscache.web.filter.ExpiresRefreshPolicy.
- Checks if a cache filter entry has expired.
- ExpiresRefreshPolicy(int) - Constructor for class com.opensymphony.oscache.web.filter.ExpiresRefreshPolicy
- Constructor ExpiresRefreshPolicy.
- expires - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
- expires - Variable in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- expires - Variable in class com.opensymphony.oscache.web.filter.ResponseContent
- expiresRefreshPolicy - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
F
- FRAGMENT_AUTODETECT - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- FRAGMENT_NO - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- FRAGMENT_YES - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- flushBuffer() - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- fragment - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
- fragment - Variable in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
G
- getContent() - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- Get a response content
- getContentEncoding() - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- getContentType() - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- getExpires() - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- getLastModified() - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- getMaxAge() - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- Returns the max age of the content in miliseconds.
- getOutputStream() - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- Get an output stream
- getOutputStream() - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- Get an output stream.
- getSize() - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- Gets the size of this cached content.
- getStatus() - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- Retrieves the captured HttpResponse status.
- getWriter() - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- Get a print writer
H
- HEADER_ACCEPT_ENCODING - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- HEADER_CACHE_CONTROL - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- HEADER_CONTENT_ENCODING - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- HEADER_CONTENT_TYPE - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- HEADER_EXPIRES - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- HEADER_IF_MODIFIED_SINCE - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- HEADER_LAST_MODIFIED - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
I
- ICacheGroupsProvider - interface com.opensymphony.oscache.web.filter.ICacheGroupsProvider.
- Provider interface for cache groups creation in CacheFilter.
- ICacheKeyProvider - interface com.opensymphony.oscache.web.filter.ICacheKeyProvider.
- Provider interface for cache key creation.
- init(FilterConfig) - Method in class com.opensymphony.oscache.web.filter.CacheFilter
- Initialize the filter.
- instantiateFromInitParam(String, Class, String) - Method in class com.opensymphony.oscache.web.filter.CacheFilter
- isCacheable(ServletRequest) - Method in class com.opensymphony.oscache.web.filter.CacheFilter
- isCacheable is a method allowing a subclass to decide if a request is cachable or not.
- isCacheable(CacheHttpServletResponseWrapper) - Method in class com.opensymphony.oscache.web.filter.CacheFilter
- isCacheable is a method allowing subclass to decide if a response is cachable or not.
- isCommitted() - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- isContentGZiped() - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- isFilteredBefore(ServletRequest) - Method in class com.opensymphony.oscache.web.filter.CacheFilter
- Checks if the request was filtered before, so guarantees to be executed once per request.
- isFragment(HttpServletRequest) - Method in class com.opensymphony.oscache.web.filter.CacheFilter
- Checks if the request is a fragment in a page.
L
- LAST_MODIFIED_INITIAL - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- LAST_MODIFIED_OFF - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- LAST_MODIFIED_ON - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- lastModified - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
- lastModified - Variable in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- lastModified - Variable in class com.opensymphony.oscache.web.filter.ResponseContent
- locale - Variable in class com.opensymphony.oscache.web.filter.ResponseContent
- log - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
- log - Variable in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
M
- MAX_AGE_NO_INIT - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- MAX_AGE_TIME - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- maxAge - Variable in class com.opensymphony.oscache.web.filter.ResponseContent
N
- NOCACHE_OFF - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- NOCACHE_SESSION_ID_IN_URL - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- needsRefresh(CacheEntry) - Method in class com.opensymphony.oscache.web.filter.ExpiresRefreshPolicy
- Indicates whether the supplied
CacheEntryneeds to be refreshed. - nocache - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
P
- passThroughStream - Variable in class com.opensymphony.oscache.web.filter.SplitServletOutputStream
R
- REQUEST_FILTERED - Static variable in class com.opensymphony.oscache.web.filter.CacheFilter
- ResponseContent - class com.opensymphony.oscache.web.filter.ResponseContent.
- Holds the servlet response in a byte array so that it can be held in the cache (and, since this class is serializable, optionally persisted to disk).
- ResponseContent() - Constructor for class com.opensymphony.oscache.web.filter.ResponseContent
- refreshPeriod - Variable in class com.opensymphony.oscache.web.filter.ExpiresRefreshPolicy
- the refresh period (in milliseconds) of a certain cache filter
- reset() - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- resetBuffer() - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- result - Variable in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
S
- SplitServletOutputStream - class com.opensymphony.oscache.web.filter.SplitServletOutputStream.
- Extends the base
ServletOutputStreamclass so that the stream can be captured as it gets written. - SplitServletOutputStream(OutputStream, OutputStream) - Constructor for class com.opensymphony.oscache.web.filter.SplitServletOutputStream
- Constructs a split output stream that both captures and passes through the servlet response.
- sendError(int, String) - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- We override this so we can catch the response status.
- sendError(int) - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- We override this so we can catch the response status.
- sendRedirect(String) - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- We override this so we can catch the response status.
- setContentEncoding(String) - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- setContentType(String) - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- Set the content type
- setContentType(String) - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- Set the content type.
- setDateHeader(String, long) - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- Set the date of a header
- setExpires(long) - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- Sets the expires date and time in miliseconds.
- setHeader(String, String) - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- Set a header field
- setIntHeader(String, int) - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- Set the int value of the header
- setLastModified(long) - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- setLocale(Locale) - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- Set the locale
- setLocale(Locale) - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- Set the Locale.
- setMaxAge(long) - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- Sets the max age date and time in miliseconds.
- setStatus(int) - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- We override this so we can catch the response status.
- setStatus(int, String) - Method in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
- We override this so we can catch the response status.
- status - Variable in class com.opensymphony.oscache.web.filter.CacheHttpServletResponseWrapper
T
- time - Variable in class com.opensymphony.oscache.web.filter.CacheFilter
W
- write(int) - Method in class com.opensymphony.oscache.web.filter.SplitServletOutputStream
- Writes the incoming data to both the output streams.
- write(byte[]) - Method in class com.opensymphony.oscache.web.filter.SplitServletOutputStream
- Writes the incoming data to both the output streams.
- write(byte[], int, int) - Method in class com.opensymphony.oscache.web.filter.SplitServletOutputStream
- Writes the incoming data to both the output streams.
- writeTo(ServletResponse) - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- Writes this cached data out to the supplied
ServletResponse. - writeTo(ServletResponse, boolean, boolean) - Method in class com.opensymphony.oscache.web.filter.ResponseContent
- Writes this cached data out to the supplied
ServletResponse.
A B C D E F G H I L M N P R S T W
|
|||||||||
| Home >> All >> com >> opensymphony >> oscache >> web >> [ filter overview ] | PREV NEXT | ||||||||