public class ThumbnailDownload extends AttachmentDownload
ServeAfterTransactionDownload.StreamResultCallback
JWT_REQUEST_USERNAME
Constructor and Description |
---|
ThumbnailDownload() |
Modifier and Type | Method and Description |
---|---|
protected void |
getEventToPublish(Attachment attachment) |
protected String |
getUrlPrefix() |
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
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 getEventToPublish(Attachment attachment)
getEventToPublish
in class AttachmentDownload
Copyright © 2003–2019 Atlassian. All rights reserved.