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
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload
ServeAfterTransactionDownload.StreamResultCallback
-
Field Summary
Fields inherited from class com.atlassian.confluence.servlet.download.AttachmentDownload
JWT_REQUEST_USERNAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected void
publishEvents
(Attachment attachment, boolean download) protected void
setHeadersForAttachment
(InputStream contents, String name, long contentLength, String contentType, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) Methods inherited from class com.atlassian.confluence.servlet.download.AttachmentDownload
getEventPublisher, getStreamForDownload, matches, setAttachmentSafeContentHeaderGuesser, setAttachmentUrlParser, setDownloadResourceManager, setEventPublisher, setTokenGenerator, streamResponse
Methods inherited from class com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload
getDecodedPathInfo, getStreamResultCallback, serveFile, setTransactionManager
-
Constructor Details
-
ThumbnailDownload
public ThumbnailDownload()
-
-
Method Details
-
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 classAttachmentDownload
-
getUrlPrefix
- Overrides:
getUrlPrefix
in classAttachmentDownload
-
publishEvents
- Overrides:
publishEvents
in classAttachmentDownload
-
getStreamingAnalyticsEventName
- Overrides:
getStreamingAnalyticsEventName
in classAttachmentDownload
-