Package | Description |
---|---|
org.apache.catalina.filters |
Modifier and Type | Method and Description |
---|---|
protected Date |
ExpiresFilter.getExpirationDate(ExpiresFilter.ExpiresConfiguration configuration,
ExpiresFilter.XHttpServletResponse response)
Returns the expiration date of the given
ExpiresFilter.ExpiresConfiguration ,
HttpServletRequest and ExpiresFilter.XHttpServletResponse . |
protected Date |
ExpiresFilter.getExpirationDate(ExpiresFilter.XHttpServletResponse response)
Returns the expiration date of the given
ExpiresFilter.XHttpServletResponse or
null if no expiration date has been configured for the
declared content type. |
protected boolean |
ExpiresFilter.isEligibleToExpirationHeaderGeneration(javax.servlet.http.HttpServletRequest request,
ExpiresFilter.XHttpServletResponse response)
protected for extension. |
void |
ExpiresFilter.onBeforeWriteResponseBody(javax.servlet.http.HttpServletRequest request,
ExpiresFilter.XHttpServletResponse response)
If no expiration header has been set by the servlet and an expiration has
been defined in the
ExpiresFilter configuration, sets the '
Expires' header and the attribute 'max-age' of the '
Cache-Control' header. |
Constructor and Description |
---|
XPrintWriter(PrintWriter out,
javax.servlet.http.HttpServletRequest request,
ExpiresFilter.XHttpServletResponse response) |
XServletOutputStream(javax.servlet.ServletOutputStream servletOutputStream,
javax.servlet.http.HttpServletRequest request,
ExpiresFilter.XHttpServletResponse response) |
Copyright © 2014 JBoss by Red Hat. All rights reserved.