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 Stringprotected voidpublishEvents(Attachment attachment, boolean download) protected voidsetHeadersForAttachment(InputStream contents, String name, long contentLength, String contentType, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) Methods inherited from class com.atlassian.confluence.servlet.download.AttachmentDownload
getEventPublisher, getStreamForDownload, matches, setAttachmentSafeContentHeaderGuesser, setAttachmentUrlParser, setDownloadResourceManager, setEventPublisher, setTokenGenerator, streamResponseMethods 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, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) - Overrides:
setHeadersForAttachmentin classAttachmentDownload
-
getUrlPrefix
- Overrides:
getUrlPrefixin classAttachmentDownload
-
publishEvents
- Overrides:
publishEventsin classAttachmentDownload
-
getStreamingAnalyticsEventName
- Overrides:
getStreamingAnalyticsEventNamein classAttachmentDownload
-