| java.lang.Object | |
| ↳ | com.atlassian.confluence.servlet.download.AttachmentUrlParser |
A URL parser for attachments (including thumbnails).
See FileServerServlet for URL prefix constants.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | MODIFICATION_DATE_PARAMETER | ||||||||||
| String | VERSION_PARAMETER | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the attachment based on the url, prefix and query parameters.
| |||||||||||
Gets the entity that the attachment is attached to based on the given url.
| |||||||||||
Gets the entity id that the attachment is attached to based on the given
url.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Gets the attachment based on the url, prefix and query parameters.
| urlPath | the attachment url path |
|---|---|
| urlPrefix | the url prefix up to the entity id |
| parameters | query parameters from the url |
Gets the entity that the attachment is attached to based on the given url. If the url cannot be parsed to extract the entity id, null is returned.
| urlPath | the attachment url path |
|---|---|
| prefix | the url prefix up to the entity id |
Gets the entity id that the attachment is attached to based on the given url. If the url cannot be parsed to extract the entity id, -1 is returned.
| urlPath | the attachment url path |
|---|---|
| prefix | the url prefix up to the entity id |

