public class BlogPathConverter extends Object implements PathConverter
This converter expects the url to have between 3 and 5 path elements and interprets them as:
If the title is not specified, this converter returns a path that will show all posts for that day.
Constructor and Description |
---|
BlogPathConverter() |
Modifier and Type | Method and Description |
---|---|
ConvertedPath |
getPath(String path)
Returns a
ConvertedPath based on the passed in path. |
boolean |
handles(String simplePath)
Return true from this method if your path converter can convert the specified path.
|
public boolean handles(String simplePath)
PathConverter
handles
in interface PathConverter
simplePath
- the path relative to the servlet mappingpublic ConvertedPath getPath(String path)
PathConverter
ConvertedPath
based on the passed in path.getPath
in interface PathConverter
path
- the path relative to the servlet mappingConvertedPath
representing the path conversionCopyright © 2003–2016 Atlassian. All rights reserved.
View cookie preferences