com.atlassian.confluence.plugin.webresource
Class ConfluenceWebResourceIntegration
java.lang.Object
com.atlassian.confluence.plugin.webresource.ConfluenceWebResourceIntegration
- All Implemented Interfaces:
- com.atlassian.plugin.webresource.WebResourceIntegration
public class ConfluenceWebResourceIntegration
- extends java.lang.Object
- implements com.atlassian.plugin.webresource.WebResourceIntegration
Confluence implementation of WebResourceIntegration, for use with the static resource caching code.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceWebResourceIntegration
public ConfluenceWebResourceIntegration(com.atlassian.plugin.PluginAccessor pluginAccessor,
SettingsManager settingsManager,
CssResourceCounterManager cssResourceCounterManager,
Counter pluginResourceCounter)
getPluginAccessor
public com.atlassian.plugin.PluginAccessor getPluginAccessor()
- Specified by:
getPluginAccessor
in interface com.atlassian.plugin.webresource.WebResourceIntegration
getRequestCache
public java.util.Map getRequestCache()
- Specified by:
getRequestCache
in interface com.atlassian.plugin.webresource.WebResourceIntegration
getSystemCounter
public java.lang.String getSystemCounter()
- Specified by:
getSystemCounter
in interface com.atlassian.plugin.webresource.WebResourceIntegration
getSystemBuildNumber
public java.lang.String getSystemBuildNumber()
- Specified by:
getSystemBuildNumber
in interface com.atlassian.plugin.webresource.WebResourceIntegration
getBaseUrl
public java.lang.String getBaseUrl()
- Specified by:
getBaseUrl
in interface com.atlassian.plugin.webresource.WebResourceIntegration
getBaseUrl
public java.lang.String getBaseUrl(com.atlassian.plugin.webresource.UrlMode urlMode)
- Returns the base url of the application for the given url mode.
For
UrlMode.AUTO
the relative url is returned if found,
otherwise will default to returning the absolute url.
This method can return null if the base url cannot be determined.
- Specified by:
getBaseUrl
in interface com.atlassian.plugin.webresource.WebResourceIntegration
- Returns:
- the base url of the application for the given url mode
getSuperBatchVersion
public java.lang.String getSuperBatchVersion()
- Specified by:
getSuperBatchVersion
in interface com.atlassian.plugin.webresource.WebResourceIntegration
Copyright © 2003-2010 Atlassian. All Rights Reserved.