com.atlassian.confluence.servlet.download
Class ThumbnailDownload
java.lang.Object
com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload
com.atlassian.confluence.servlet.download.AttachmentDownload
com.atlassian.confluence.servlet.download.ThumbnailDownload
- All Implemented Interfaces:
- DownloadStrategy
public class ThumbnailDownload
- extends AttachmentDownload
Field Summary |
static String |
THUMBNAIL_MIME_TYPE
Deprecated. since 3.5. Use Thumbnail.MimeType#PNG toString() instead, as we use PNG now thumbnails. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THUMBNAIL_MIME_TYPE
@Deprecated
public static final String THUMBNAIL_MIME_TYPE
- Deprecated. since 3.5. Use
Thumbnail.MimeType#PNG
toString()
instead, as we use PNG now thumbnails.
- See Also:
- Constant Field Values
ThumbnailDownload
public ThumbnailDownload()
setEventPublisher
public void setEventPublisher(EventPublisher eventPublisher)
- Overrides:
setEventPublisher
in class AttachmentDownload
setHeadersForAttachment
protected void setHeadersForAttachment(String name,
long contentLength,
String contentType,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
- Overrides:
setHeadersForAttachment
in class AttachmentDownload
getUrlPrefix
protected String getUrlPrefix()
- Overrides:
getUrlPrefix
in class AttachmentDownload
getEventToPublish
protected void getEventToPublish(Attachment attachment)
- Overrides:
getEventToPublish
in class AttachmentDownload