com.atlassian.confluence.servlet.download
Class ThumbnailDownload

java.lang.Object
  extended by com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload
      extended by com.atlassian.confluence.servlet.download.AttachmentDownload
          extended by com.atlassian.confluence.servlet.download.ThumbnailDownload
All Implemented Interfaces:
com.atlassian.plugin.servlet.DownloadStrategy

public class ThumbnailDownload
extends AttachmentDownload


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload
ServeAfterTransactionDownload.StreamResultCallback
 
Field Summary
static java.lang.String THUMBNAIL_MIME_TYPE
           
 
Constructor Summary
ThumbnailDownload()
           
 
Method Summary
protected  java.lang.String getUrlPrefix()
           
protected  void setHeadersForAttachment(java.lang.String name, long contentLength, java.lang.String contentType, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
           
 
Methods inherited from class com.atlassian.confluence.servlet.download.AttachmentDownload
getStreamForDownload, matches, setAttachmentUrlParser, setDownloadResourceManager, setEventManager, setFileNameHeader, setMimeTypeTranslator
 
Methods inherited from class com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload
getDecodedPathInfo, getStreamResultCallback, serveFile, setTransactionManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THUMBNAIL_MIME_TYPE

public static final java.lang.String THUMBNAIL_MIME_TYPE
See Also:
Constant Field Values
Constructor Detail

ThumbnailDownload

public ThumbnailDownload()
Method Detail

setHeadersForAttachment

protected void setHeadersForAttachment(java.lang.String name,
                                       long contentLength,
                                       java.lang.String contentType,
                                       javax.servlet.http.HttpServletRequest httpServletRequest,
                                       javax.servlet.http.HttpServletResponse httpServletResponse)
Overrides:
setHeadersForAttachment in class AttachmentDownload

getUrlPrefix

protected java.lang.String getUrlPrefix()
Overrides:
getUrlPrefix in class AttachmentDownload


Copyright © 2003-2010 Atlassian. All Rights Reserved.