com.atlassian.gadgets.util
Class AbstractUrlBuilder
java.lang.Object
com.atlassian.gadgets.util.AbstractUrlBuilder
- All Implemented Interfaces:
- UrlBuilder
public abstract class AbstractUrlBuilder
- extends Object
- implements UrlBuilder
Constructor Summary |
AbstractUrlBuilder(com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
String pluginModuleKey)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
webResourceManager
protected final com.atlassian.plugin.webresource.WebResourceManager webResourceManager
applicationProperties
protected final com.atlassian.sal.api.ApplicationProperties applicationProperties
AbstractUrlBuilder
public AbstractUrlBuilder(com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
String pluginModuleKey)
buildImageUrl
public String buildImageUrl(String path)
- Description copied from interface:
UrlBuilder
- Returns the URL to the image specified by the given path.
- Specified by:
buildImageUrl
in interface UrlBuilder
- Parameters:
path
- path to the image
- Returns:
- URL to the image specified by the given path.
buildRpcJsUrl
public String buildRpcJsUrl()
- Description copied from interface:
UrlBuilder
- Returns the URL to the RPC javascript file.
- Specified by:
buildRpcJsUrl
in interface UrlBuilder
- Returns:
- the URL to the RPC javascript file
getBaseUrl
protected String getBaseUrl()
Copyright © 2010 Atlassian. All Rights Reserved.