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 String
baseUrl
protected String
contextPath
-
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 void
addParam(String key, Object value)
protected String
getAnchor()
protected String
getBaseUrl()
protected String
getContextPath()
protected Map<String,Object>
getParams()
protected void
setAnchor(String anchor)
String
toString()
-
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:
addParam
in classAbstractNav
-
setAnchor
protected final void setAnchor(String anchor)
- Specified by:
setAnchor
in classAbstractNav
-
getAnchor
protected final String getAnchor()
- Specified by:
getAnchor
in classAbstractNav
-
getParams
protected final Map<String,Object> getParams()
- Specified by:
getParams
in classAbstractNav
-
getBaseUrl
protected String getBaseUrl()
- Specified by:
getBaseUrl
in classAbstractNav
-
getContextPath
protected String getContextPath()
- Specified by:
getContextPath
in classAbstractNav
-
-