Class BaseNav
- java.lang.Object
-
- com.atlassian.confluence.plugins.rest.navigation.impl.AbstractNav
-
- com.atlassian.confluence.plugins.rest.navigation.impl.BaseNav
-
- All Implemented Interfaces:
Navigation.Builder,RestNavigation.RestBuilder
public abstract class BaseNav extends AbstractNav
- Since:
- 5.10
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbaseUrlprotected StringcontextPath-
Fields inherited from interface com.atlassian.confluence.api.nav.Navigation.Builder
NONE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddParam(String key, Object value)protected StringgetAnchor()protected StringgetBaseUrl()protected StringgetContextPath()protected Map<String,Object>getParams()protected voidsetAnchor(String anchor)StringtoString()-
Methods inherited from class com.atlassian.confluence.plugins.rest.navigation.impl.AbstractNav
buildAbsolute, buildCanonicalAbsolute, buildPath, buildRelative, buildRelativeWithContext, copy, toAbsoluteUriBuilder
-
-
-
-
Method Detail
-
addParam
protected final void addParam(String key, Object value)
- Specified by:
addParamin classAbstractNav
-
setAnchor
protected final void setAnchor(String anchor)
- Specified by:
setAnchorin classAbstractNav
-
getAnchor
protected final String getAnchor()
- Specified by:
getAnchorin classAbstractNav
-
getParams
protected final Map<String,Object> getParams()
- Specified by:
getParamsin classAbstractNav
-
getBaseUrl
protected String getBaseUrl()
- Specified by:
getBaseUrlin classAbstractNav
-
getContextPath
protected String getContextPath()
- Specified by:
getContextPathin classAbstractNav
-
-