public abstract class AbstractNav extends Object implements RestNavigation.RestBuilder
NONE
Constructor and Description |
---|
AbstractNav() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
addParam(String key,
Object value) |
String |
buildAbsolute()
build an absolute URL http://localhost:8080/confluence/rest/of/url
|
String |
buildCanonicalAbsolute()
build an absolute URL substituting the confuence configured base url and context for the base url and context
supplied by the url builder
|
protected abstract String |
buildPath() |
String |
buildRelative()
build a relative URL without webapp context, i.e.
|
String |
buildRelativeWithContext()
build a relative URL with webapp context, i.e.
|
protected abstract AbstractNav |
copy() |
protected abstract String |
getAnchor() |
protected abstract String |
getBaseUrl() |
protected abstract String |
getContextPath() |
protected abstract Map<String,Object> |
getParams() |
protected abstract void |
setAnchor(String anchor) |
javax.ws.rs.core.UriBuilder |
toAbsoluteUriBuilder()
converts this builder to a jersey URI builder
|
protected abstract String buildPath()
protected abstract void setAnchor(String anchor)
protected abstract String getAnchor()
protected abstract String getBaseUrl()
protected abstract String getContextPath()
protected abstract AbstractNav copy()
public String buildAbsolute()
Navigation.Builder
buildAbsolute
in interface Navigation.Builder
public String buildCanonicalAbsolute()
Navigation.Builder
buildCanonicalAbsolute
in interface Navigation.Builder
public javax.ws.rs.core.UriBuilder toAbsoluteUriBuilder()
RestNavigation.RestBuilder
toAbsoluteUriBuilder
in interface RestNavigation.RestBuilder
public String buildRelative()
Navigation.Builder
buildRelative
in interface Navigation.Builder
public String buildRelativeWithContext()
Navigation.Builder
buildRelativeWithContext
in interface Navigation.Builder
Copyright © 2003–2017 Atlassian. All rights reserved.