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:
- com.atlassian.plugin.servlet.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(com.atlassian.event.api.EventPublisher eventPublisher)
- Overrides:
setEventPublisher
in class AttachmentDownload
setHeadersForAttachment
protected void setHeadersForAttachment(InputStream contents,
String name,
long contentLength,
String contentType,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.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
Copyright © 2003–2015 Atlassian. All rights reserved.