Class ExpiresFilter.XHttpServletResponse

All Implemented Interfaces:
HttpServletResponse, ServletResponse
Enclosing class:
ExpiresFilter

public class ExpiresFilter.XHttpServletResponse extends HttpServletResponseWrapper

Wrapping extension of the HttpServletResponse to wrap 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.