| java.lang.Object | ||
| ↳ | com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload | |
| ↳ | com.atlassian.confluence.servlet.download.AttachmentDownload | |
Known Direct Subclasses
|
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the input stream to serve to the client outside of the database transaction.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
We should be able to encode the filename header per RFC 2047, but no browsers currently support it.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.plugin.servlet.DownloadStrategy
| |||||||||||
Get the input stream to serve to the client outside of the database transaction. The inputstream must be useable outside of the database transaction that created it
| IOException |
|---|
We should be able to encode the filename header per RFC 2047, but no browsers currently support it. So for non-ASCII filenames, we'll omit this header, and good browsers will use the filename from the URL, for which they know the proper encoding. MSIE will only understand a filename URL-encoded in the header, which is weird, but some user-agent matching fixes that.