Class SpacePathConverter
java.lang.Object
com.atlassian.confluence.servlet.simpledisplay.AbstractPathConverter
com.atlassian.confluence.servlet.simpledisplay.SpacePathConverter
- All Implemented Interfaces:
PathConverter
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
This path converter takes a friendly space url and converts it into a viewspace action url.
This converter expects exactly one field, the space key.
This converter will return the home page.
-
Field Summary
FieldsFields inherited from class com.atlassian.confluence.servlet.simpledisplay.AbstractPathConverter
darkFeatureManager, NO_REDIRECT, pageManager, pathConverterManager, permissionManager, READABLE_URL_DARK_FEATURE
-
Constructor Summary
ConstructorsConstructorDescriptionSpacePathConverter
(PathConverterManager pathConverterManager, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Returns aConvertedPath
based on the passed in path and query string.boolean
Methods inherited from class com.atlassian.confluence.servlet.simpledisplay.AbstractPathConverter
currentUserCanEdit, destroy, hasPagePermission, isNotDraft, isSafeToRedirectAndRevealPageId, toQueryParameters
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.servlet.simpledisplay.PathConverter
getPath, handles
-
Field Details
-
DISPLAY_SPACE_HOME_PAGE_PATH
- See Also:
-
-
Constructor Details
-
SpacePathConverter
public SpacePathConverter(PathConverterManager pathConverterManager, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager)
-
-
Method Details
-
afterPropertiesSet
- Throws:
Exception
-
handles
-
getPath
Description copied from interface:PathConverter
Returns aConvertedPath
based on the passed in path and query string.- Parameters:
path
- the path relative to the servlet mappingqueryString
- the query string- Returns:
- a
ConvertedPath
representing the path conversion
-