public abstract class AbstractUrlBuilder extends Object implements UrlBuilder
| Modifier and Type | Field and Description |
|---|---|
protected com.atlassian.sal.api.ApplicationProperties |
applicationProperties |
protected com.atlassian.plugin.webresource.WebResourceManager |
webResourceManager |
| Constructor and Description |
|---|
AbstractUrlBuilder(com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
String pluginModuleKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildImageUrl(String path)
Returns the URL to the image specified by the given path.
|
String |
buildRpcJsUrl()
Returns the URL to the RPC javascript file.
|
protected String |
getBaseUrl() |
protected final com.atlassian.plugin.webresource.WebResourceManager webResourceManager
protected final com.atlassian.sal.api.ApplicationProperties applicationProperties
public AbstractUrlBuilder(com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
String pluginModuleKey)
public String buildImageUrl(String path)
UrlBuilderbuildImageUrl in interface UrlBuilderpath - path to the imagepublic String buildRpcJsUrl()
UrlBuilderbuildRpcJsUrl in interface UrlBuilderprotected String getBaseUrl()
Copyright © 2013 Atlassian. All Rights Reserved.