Class CacheSupport

java.lang.Object
eu.acclimatize.unison.CacheSupport

public class CacheSupport extends Object
Used for adding conditional the Vary header and a conditional cache control header.
  • Constructor Details

    • CacheSupport

      public CacheSupport()
  • Method Details

    • addHeader

      public void addHeader(Date toDate, javax.servlet.http.HttpServletResponse response)
      Adds Vary and conditional cache control headers.
      Parameters:
      toDate - The end date for the request.
      response - The response to add headers to.