com.atlassian.jira.web.servlet
Class AbstractViewFileServlet
java.lang.Object
HttpServlet
com.atlassian.jira.web.servlet.AbstractViewFileServlet
- Direct Known Subclasses:
- ViewAttachmentServlet
- public abstract class AbstractViewFileServlet
- extends HttpServlet
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response)
|
protected abstract java.io.File |
getFileName(HttpServletRequest request,
HttpServletResponse response)
|
protected abstract void |
setResponseHeaders(HttpServletRequest request,
HttpServletResponse response)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractViewFileServlet
public AbstractViewFileServlet()
doGet
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
getFileName
protected abstract java.io.File getFileName(HttpServletRequest request,
HttpServletResponse response)
throws GenericEntityException,
EntityNotFoundException,
java.io.IOException,
PermissionException
- Throws:
GenericEntityException
EntityNotFoundException
java.io.IOException
PermissionException
setResponseHeaders
protected abstract void setResponseHeaders(HttpServletRequest request,
HttpServletResponse response)
throws GenericEntityException
- Throws:
GenericEntityException