public interface PathConverter
SimpleDisplayServlet
to convert friendly URL's to action URLs.Modifier and Type | Method and Description |
---|---|
default ConvertedPath |
getPath(String path)
Deprecated.
since 6.0. Use
getPath(String, String) instead. |
default ConvertedPath |
getPath(String path,
String queryString)
Returns a
ConvertedPath based on the passed in path and query string. |
default boolean |
handles(String path)
Deprecated.
since 6.0. Use
handles(String, String) instead. |
default boolean |
handles(String path,
String queryString)
Return true from this method if your path converter can convert the specified path and query string.
|
@Deprecated default boolean handles(String path)
handles(String, String)
instead.@Deprecated default ConvertedPath getPath(String path)
getPath(String, String)
instead.default boolean handles(String path, String queryString)
path
- the path relative to the servlet mappingqueryString
- the query stringdefault ConvertedPath getPath(String path, String queryString)
ConvertedPath
based on the passed in path and query string.path
- the path relative to the servlet mappingqueryString
- the query stringConvertedPath
representing the path conversionCopyright © 2003–2019 Atlassian. All rights reserved.