Class ExpiresFilter.XHttpServletResponse

java.lang.Object
jakarta.servlet.ServletResponseWrapper
jakarta.servlet.http.HttpServletResponseWrapper
org.apache.catalina.filters.ExpiresFilter.XHttpServletResponse
All Implemented Interfaces:
HttpServletResponse, ServletResponse
Enclosing class:
ExpiresFilter

public class ExpiresFilter.XHttpServletResponse extends HttpServletResponseWrapper

Wrapping extension of the HttpServletResponse to yrap the "Start Write Response Body" event.

For performance optimization : this extended response holds the lastModifiedHeader and cacheControlHeader values access to the slow HttpServletResponseWrapper.getHeader(String) and to spare the string to date to long conversion.