com.atlassian.gadgets.embedded.internal
Class GadgetUrlBuilder
java.lang.Object
com.atlassian.gadgets.util.AbstractUrlBuilder
com.atlassian.gadgets.embedded.internal.GadgetUrlBuilder
- All Implemented Interfaces:
- UrlBuilder, com.atlassian.gadgets.view.RenderedGadgetUriBuilder
public class GadgetUrlBuilder
- extends AbstractUrlBuilder
- implements com.atlassian.gadgets.view.RenderedGadgetUriBuilder
Builds URLs to the rendered gadget.
Constructor Summary |
GadgetUrlBuilder(com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
com.atlassian.gadgets.view.SecurityTokenFactory securityTokenFactory,
com.atlassian.gadgets.spec.GadgetSpecFactory gadgetSpecFactory)
Constructor. |
Method Summary |
URI |
build(com.atlassian.gadgets.GadgetState gadget,
com.atlassian.gadgets.view.ModuleId moduleId,
com.atlassian.gadgets.view.View view,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext)
|
URI |
build(com.atlassian.gadgets.GadgetState gadget,
com.atlassian.gadgets.view.View view,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext)
Deprecated. as of 2.0, use build(GadgetState, ModuleId, View, GadgetRequestContext) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GadgetUrlBuilder
public GadgetUrlBuilder(com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
com.atlassian.gadgets.view.SecurityTokenFactory securityTokenFactory,
com.atlassian.gadgets.spec.GadgetSpecFactory gadgetSpecFactory)
- Constructor.
- Parameters:
applicationProperties
- the ApplicationProperties
implementation to usewebResourceManager
- the WebResourceManager
implementation to usesecurityTokenFactory
- the SecurityTokenFactory
implementation to usegadgetSpecFactory
- the GadgetSpecFactory
implementation to use
build
@Deprecated
public URI build(com.atlassian.gadgets.GadgetState gadget,
com.atlassian.gadgets.view.View view,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext)
- Deprecated. as of 2.0, use
build(GadgetState, ModuleId, View, GadgetRequestContext)
-
- Specified by:
build
in interface com.atlassian.gadgets.view.RenderedGadgetUriBuilder
build
public final URI build(com.atlassian.gadgets.GadgetState gadget,
com.atlassian.gadgets.view.ModuleId moduleId,
com.atlassian.gadgets.view.View view,
com.atlassian.gadgets.GadgetRequestContext gadgetRequestContext)
- Specified by:
build
in interface com.atlassian.gadgets.view.RenderedGadgetUriBuilder
Copyright © 2011 Atlassian. All Rights Reserved.