| java.lang.Object |
| ↳ |
com.atlassian.confluence.servlet.simpledisplay.MailPathConverter |
Class Overview
A Path converter that converts friendly mail path url to a viewmail action.
This converter expects the url to have exactly 3 parameters
as:
- Space Key
- "mail" literal
- id (numeric)
Constants
public
static
final
String
VIEW_MAIL
Constant Value:
"/spaces/viewmail.action?key=${key}&id=${id}"
Fields
Public Constructors
public
MailPathConverter
()
Public Methods
Parameters
| simplePath
| the path relative to the servlet mapping |
public
boolean
handles
(String simplePath)
Return true from this method if your path converter can convert the specified path.
By default, the SimpleDisplayServlet will be mapped to '/display' which will be stripped off
the path before being passed to this method.
The first converter that returns true for a path will be used to perform the conversion.
Parameters
| simplePath
| the path relative to the servlet mapping |
Returns
- true if your path converter can handle this path