Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addLastModified(ServletContext, HttpServletRequest, String, String, AddLastModified) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedServlet
-
Adds a last modified time (to the nearest second) to a URL if the resource is directly available as a local resource.
- AddLastModified - Enum in com.aoapps.servlet.lastmodified
-
The options for when to add last modified parameters.
- AUTO - Enum constant in enum com.aoapps.servlet.lastmodified.AddLastModified
-
Only tries to add last modified time to URLs that are both not
Canonical
and match expected static resource files, by extension.
B
- buildRedirectURL(JspContext, String, URIParameters, AddLastModified, boolean, boolean) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedUtil
-
Builds a URL that should be used for a redirect location.
- buildRedirectURL(PageContext, String, URIParameters, AddLastModified, boolean, boolean) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedUtil
-
Builds a URL that should be used for a redirect location.
- buildRedirectURL(ServletContext, HttpServletRequest, HttpServletResponse, String, URIParameters, AddLastModified, boolean, boolean) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedUtil
-
Builds a URL that should be used for a redirect location, with path resolved relative to the given request.
- buildRedirectURL(ServletContext, HttpServletRequest, HttpServletResponse, String, String, URIParameters, AddLastModified, boolean, boolean) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedUtil
-
Builds a URL that should be used for a redirect location.
- buildURL(JspContext, String, URIParameters, AddLastModified, boolean, boolean) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedUtil
-
Builds a URL.
- buildURL(PageContext, String, URIParameters, AddLastModified, boolean, boolean) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedUtil
-
Builds a URL.
- buildURL(ServletContext, HttpServletRequest, HttpServletResponse, String, URIParameters, AddLastModified, boolean, boolean) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedUtil
-
Builds a URL with path resolved relative to the given request.
- buildURL(ServletContext, HttpServletRequest, HttpServletResponse, String, String, URIParameters, AddLastModified, boolean, boolean) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedUtil
-
Builds a URL.
C
- com.aoapps.servlet.lastmodified - module com.aoapps.servlet.lastmodified
- com.aoapps.servlet.lastmodified - package com.aoapps.servlet.lastmodified
- contextDestroyed(ServletContextEvent) - Method in class com.aoapps.servlet.lastmodified.LastModifiedServlet.ParsedCssFileCache
- contextInitialized(ServletContextEvent) - Method in class com.aoapps.servlet.lastmodified.LastModifiedServlet.ParsedCssFileCache
D
- DEFAULT_CACHE_CONTROL - Static variable in class com.aoapps.servlet.lastmodified.LastModifiedHeaderFilter
-
The default, very aggressive,
cache-control
header value. - DEFAULT_CACHE_CONTROL - Static variable in class com.aoapps.servlet.lastmodified.LastModifiedServlet
-
The default, short-term,
cache-control
header value. - destroy() - Method in class com.aoapps.servlet.lastmodified.LastModifiedHeaderFilter
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.aoapps.servlet.lastmodified.LastModifiedHeaderFilter
- doGet(HttpServletRequest, HttpServletResponse) - Method in class com.aoapps.servlet.lastmodified.LastModifiedServlet
E
- encodeLastModified(long) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedServlet
-
Encodes a last modified value.
F
- FALSE - Enum constant in enum com.aoapps.servlet.lastmodified.AddLastModified
-
Never tries to add last modified time.
G
- getLastModified(HttpServletRequest) - Method in class com.aoapps.servlet.lastmodified.LastModifiedServlet
- getLastModified(ServletContext, HttpServletRequest, String) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedServlet
-
Automatically determines extension from path.
- getLastModified(ServletContext, HttpServletRequest, String, String) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedServlet
-
Gets a last modified time given a context-relative path starting with a slash (/).
- getLowerName() - Method in enum com.aoapps.servlet.lastmodified.AddLastModified
I
- init(FilterConfig) - Method in class com.aoapps.servlet.lastmodified.LastModifiedHeaderFilter
- init(ServletConfig) - Method in class com.aoapps.servlet.lastmodified.LastModifiedServlet
L
- LAST_MODIFIED_HEADER_NAME - Static variable in class com.aoapps.servlet.lastmodified.LastModifiedServlet
-
The header that may be used to disable automatic lastModified parameters.
- LAST_MODIFIED_PARAMETER_NAME - Static variable in class com.aoapps.servlet.lastmodified.LastModifiedServlet
-
The name of the last modified parameter that is optionally added.
- LastModifiedHeaderFilter - Class in com.aoapps.servlet.lastmodified
-
Adds
cache-control
andLink: <…>; rel="canonical"
headers to any request with aLastModifiedServlet.LAST_MODIFIED_PARAMETER_NAME
parameter. - LastModifiedHeaderFilter() - Constructor for class com.aoapps.servlet.lastmodified.LastModifiedHeaderFilter
- LastModifiedServlet - Class in com.aoapps.servlet.lastmodified
-
Sets the modified time to that of the file itself and all dependencies.
- LastModifiedServlet() - Constructor for class com.aoapps.servlet.lastmodified.LastModifiedServlet
- LastModifiedServlet.ParsedCssFileCache - Class in com.aoapps.servlet.lastmodified
-
Creates the
LastModifiedServlet.ParsedCssFile
cache during application start-up. - LastModifiedUtil - Class in com.aoapps.servlet.lastmodified
-
Static utilities for managing last modified parameters in servlet/JSP/taglib environments.
P
- ParsedCssFileCache() - Constructor for class com.aoapps.servlet.lastmodified.LastModifiedServlet.ParsedCssFileCache
S
- sendRedirect(int, JspContext, String, URIParameters, AddLastModified, boolean, boolean) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedUtil
-
Sends a redirect.
- sendRedirect(int, PageContext, String, URIParameters, AddLastModified, boolean, boolean) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedUtil
-
Sends a redirect.
- sendRedirect(int, ServletContext, HttpServletRequest, HttpServletResponse, String, URIParameters, AddLastModified, boolean, boolean) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedUtil
-
Sends a redirect.
- sendRedirect(int, ServletContext, HttpServletRequest, HttpServletResponse, String, String, URIParameters, AddLastModified, boolean, boolean) - Static method in class com.aoapps.servlet.lastmodified.LastModifiedUtil
-
Sends a redirect.
T
- TRUE - Enum constant in enum com.aoapps.servlet.lastmodified.AddLastModified
-
Always tries to add last modified time.
V
- valueOf(String) - Static method in enum com.aoapps.servlet.lastmodified.AddLastModified
-
Returns the enum constant of this type with the specified name.
- valueOfLowerName(String) - Static method in enum com.aoapps.servlet.lastmodified.AddLastModified
-
Gets the enum value for the given lower-case name.
- values() - Static method in enum com.aoapps.servlet.lastmodified.AddLastModified
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form