java.lang.Object | |||
↳ | javax.servlet.GenericServlet | ||
↳ | javax.servlet.http.HttpServlet | ||
↳ | com.atlassian.jira.web.servlet.AbstractViewFileServlet |
Known Direct Subclasses |
Known Indirect Subclasses |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Validates that path is valid attachment path.
| |||||||||||
Gets the attachment file (not the file name) that corresponds to the requested attachment.
| |||||||||||
Sets the content type, content length and "Content-Disposition" header
of the response based on the values of the attachement found.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.servlet.http.HttpServlet
| |||||||||||||||||||||||||||||||||||
From class
javax.servlet.GenericServlet
| |||||||||||||||||||||||||||||||||||
From class java.lang.Object | |||||||||||||||||||||||||||||||||||
From interface
javax.servlet.Servlet
| |||||||||||||||||||||||||||||||||||
From interface
javax.servlet.ServletConfig
|
Validates that path is valid attachment path.
request | HTTP request |
---|
ServletException | |
---|---|
IOException |
Gets the attachment file (not the file name) that corresponds to the requested attachment.
attachmentPath | the attachment path |
---|---|
consumer | a procedure that consumes the stream with the attachment data. |
DataAccessException | If there is a problem looking up the data to support the attachment. |
---|---|
AttachmentNotFoundException | if the attachment does not exist. |
PermissionException | if the user has insufficient permission to see the attachment. |
IOException | if there is a problem getting the attachment. |
NoAttachmentDataException | if the attachment's contents cannot be found. |
AttachmentReadException | if a problem occurs when the consumer processes the attachment's contents. |
Sets the content type, content length and "Content-Disposition" header of the response based on the values of the attachement found.
request | HTTP request |
---|---|
response | HTTP response |