com.atlassian.confluence.web.filter
Class AttachmentCachingStrategies

java.lang.Object
  extended by com.atlassian.confluence.web.filter.AttachmentCachingStrategies

public abstract class AttachmentCachingStrategies
extends java.lang.Object

Provides several methods of caching attachments, depending on the request type and user-agent. Attachment requests include attachment downloads, embedded attachments (e.g. images) and thumbnails. The goal is to ensure attachments are handled securely by shared caches and to maximise the effectiveness of private caches for attachments.

Each strategy is an inner class that implements CachingStrategy, matches a particular kind of request, and delegates the actual setting of the headers to a CachingHeaders implementation.

When declaring a new strategy here, be sure to put it in the correct position in the list of strategies used by ConfluenceCachingFilter.


Constructor Summary
AttachmentCachingStrategies()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentCachingStrategies

public AttachmentCachingStrategies()


Copyright © 2003-2010 Atlassian. All Rights Reserved.