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 java.lang.String |
THUMBNAIL_MIME_TYPE
Deprecated. since 3.5. Use Thumbnail.MimeType#PNG toString() instead, as we use PNG now thumbnails. |
Method Summary |
protected void |
getEventToPublish(Attachment attachment)
|
protected java.lang.String |
getUrlPrefix()
|
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
|
protected void |
setHeadersForAttachment(java.lang.String name,
long contentLength,
java.lang.String contentType,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
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 java.lang.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(java.lang.String name,
long contentLength,
java.lang.String contentType,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
- Overrides:
setHeadersForAttachment
in class AttachmentDownload
getUrlPrefix
protected java.lang.String getUrlPrefix()
- Overrides:
getUrlPrefix
in class AttachmentDownload
getEventToPublish
protected void getEventToPublish(Attachment attachment)
- Overrides:
getEventToPublish
in class AttachmentDownload
Copyright © 2003-2014 Atlassian. All Rights Reserved.