com.atlassian.jira.web.servlet
Class ViewThumbnailServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.atlassian.jira.web.servlet.AbstractViewFileServlet
              extended bycom.atlassian.jira.web.servlet.ViewAttachmentServlet
                  extended bycom.atlassian.jira.web.servlet.ViewThumbnailServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ViewThumbnailServlet
extends ViewAttachmentServlet

See Also:
Serialized Form

Constructor Summary
ViewThumbnailServlet()
           
 
Method Summary
protected  File getFileName(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void setResponseHeaders(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class com.atlassian.jira.web.servlet.ViewAttachmentServlet
getAttachment, hasPermissionToViewAttachment
 
Methods inherited from class com.atlassian.jira.web.servlet.AbstractViewFileServlet
attachmentPath, doGet, getUserName
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
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 File getFileName(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws org.ofbiz.core.entity.GenericEntityException,
                           EntityNotFoundException,
                           IOException,
                           PermissionException
Overrides:
getFileName in class ViewAttachmentServlet
Throws:
org.ofbiz.core.entity.GenericEntityException
EntityNotFoundException
IOException
PermissionException

setResponseHeaders

protected void setResponseHeaders(javax.servlet.http.HttpServletRequest request,
                                  javax.servlet.http.HttpServletResponse response)
                           throws org.ofbiz.core.entity.GenericEntityException
Overrides:
setResponseHeaders in class ViewAttachmentServlet
Throws:
org.ofbiz.core.entity.GenericEntityException


Copyright © 2002-2006 Atlassian. All Rights Reserved.