public class ThumbnailDownload extends AttachmentDownload
ServeAfterTransactionDownload.StreamResultCallback
JWT_REQUEST_USERNAME
Constructor and Description |
---|
ThumbnailDownload() |
Modifier and Type | Method and Description |
---|---|
protected Optional<String> |
getStreamingAnalyticsEventName() |
protected String |
getUrlPrefix() |
protected void |
publishEvents(Attachment attachment,
boolean download) |
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) |
protected void |
setHeadersForAttachment(InputStream contents,
String name,
long contentLength,
String contentType,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
getStreamForDownload, matches, setAttachmentSafeContentHeaderGuesser, setAttachmentUrlParser, setDownloadResourceManager, setTokenGenerator, streamResponse
getDecodedPathInfo, getStreamResultCallback, serveFile, setTransactionManager
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
setEventPublisher
in class AttachmentDownload
protected void setHeadersForAttachment(InputStream contents, String name, long contentLength, String contentType, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
setHeadersForAttachment
in class AttachmentDownload
protected String getUrlPrefix()
getUrlPrefix
in class AttachmentDownload
protected void publishEvents(Attachment attachment, boolean download)
publishEvents
in class AttachmentDownload
protected Optional<String> getStreamingAnalyticsEventName()
getStreamingAnalyticsEventName
in class AttachmentDownload
Copyright © 2003–2021 Atlassian. All rights reserved.