com.atlassian.gadgets.renderer.internal.http
Class TrustedAppContentFetcherFactory
java.lang.Object
org.apache.shindig.gadgets.http.ContentFetcherFactory
com.atlassian.gadgets.renderer.internal.http.TrustedAppContentFetcherFactory
public class TrustedAppContentFetcherFactory
- extends org.apache.shindig.gadgets.http.ContentFetcherFactory
Adds Trusted Application headers to all requests.
Constructor Summary |
TrustedAppContentFetcherFactory(org.apache.shindig.gadgets.http.RemoteContentFetcherFactory remoteContentFetcherFactory,
org.apache.shindig.gadgets.oauth.OAuthFetcherFactory oauthFetcherFactory,
com.atlassian.security.auth.trustedapps.TrustedApplicationsManager trustedAppsManager,
com.atlassian.sal.api.user.UserManager userManager)
|
Method Summary |
org.apache.shindig.gadgets.http.HttpResponse |
fetch(org.apache.shindig.gadgets.http.HttpRequest request)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrustedAppContentFetcherFactory
@Inject
public TrustedAppContentFetcherFactory(org.apache.shindig.gadgets.http.RemoteContentFetcherFactory remoteContentFetcherFactory,
org.apache.shindig.gadgets.oauth.OAuthFetcherFactory oauthFetcherFactory,
com.atlassian.security.auth.trustedapps.TrustedApplicationsManager trustedAppsManager,
com.atlassian.sal.api.user.UserManager userManager)
fetch
public org.apache.shindig.gadgets.http.HttpResponse fetch(org.apache.shindig.gadgets.http.HttpRequest request)
throws org.apache.shindig.gadgets.GadgetException
- Overrides:
fetch
in class org.apache.shindig.gadgets.http.ContentFetcherFactory
- Throws:
org.apache.shindig.gadgets.GadgetException
Copyright © 2014 Atlassian. All Rights Reserved.