com.atlassian.jira.web.servlet
Class ViewThumbnailServlet

java.lang.Object
  extended byHttpServlet
      extended bycom.atlassian.jira.web.servlet.AbstractViewFileServlet
          extended bycom.atlassian.jira.web.servlet.ViewAttachmentServlet
              extended bycom.atlassian.jira.web.servlet.ViewThumbnailServlet

public class ViewThumbnailServlet
extends ViewAttachmentServlet

See Also:
Serialized Form

Constructor Summary
ViewThumbnailServlet()
           
 
Method Summary
protected  java.io.File getFileName(HttpServletRequest request, HttpServletResponse response)
           
protected  void setResponseHeaders(HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class com.atlassian.jira.web.servlet.ViewAttachmentServlet
getAttachment, hasPermissionToViewAttachment
 
Methods inherited from class com.atlassian.jira.web.servlet.AbstractViewFileServlet
doGet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewThumbnailServlet

public ViewThumbnailServlet()
Method Detail

getFileName

protected java.io.File getFileName(HttpServletRequest request,
                                   HttpServletResponse response)
                            throws GenericEntityException,
                                   EntityNotFoundException,
                                   java.io.IOException,
                                   PermissionException
Overrides:
getFileName in class ViewAttachmentServlet
Throws:
GenericEntityException
EntityNotFoundException
java.io.IOException
PermissionException

setResponseHeaders

protected void setResponseHeaders(HttpServletRequest request,
                                  HttpServletResponse response)
                           throws GenericEntityException
Overrides:
setResponseHeaders in class ViewAttachmentServlet
Throws:
GenericEntityException