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
| Methods inherited from class com.atlassian.confluence.servlet.download.AttachmentDownload |
extractAttachmentFileName, extractObjectId, extractVersion, generateAttachmentDownloadEvent, getAttachment, getEntity, getStreamForDownload, getUserAccessor, hasUserPrivilegeForDownload, matches, setAttachmentManager, setContentEntityObjectDao, setEventManager, setFileNameHeader, setPermissionManager, setUserAccessor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThumbnailDownload
public ThumbnailDownload()
getAttachmentStream
protected InputStream getAttachmentStream(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
Attachment attachment)
throws IOException
- Overrides:
getAttachmentStream in class AttachmentDownload
- Throws:
IOException
setThumbnailManager
public void setThumbnailManager(ThumbnailManager thumbnailManager)
getLastModificationDate
protected Date getLastModificationDate(Attachment attachment)
- Overrides:
getLastModificationDate in class AttachmentDownload
setHeadersForAttachment
protected void setHeadersForAttachment(Attachment attachment,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
- Overrides:
setHeadersForAttachment in class AttachmentDownload
getUrlPrefix
protected String getUrlPrefix()
- Overrides:
getUrlPrefix in class AttachmentDownload