com.atlassian.gadgets.renderer.internal.http
Class HttpClientFetcher
java.lang.Object
com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher
- All Implemented Interfaces:
- org.apache.shindig.gadgets.http.HttpFetcher
public class HttpClientFetcher
- extends Object
- implements org.apache.shindig.gadgets.http.HttpFetcher
Implementation of a HttpFetcher
using HttpClient
.
Constructor Summary |
HttpClientFetcher(org.apache.shindig.gadgets.http.HttpCache cache,
Whitelist whitelist,
com.atlassian.sal.api.ApplicationProperties applicationProperties)
|
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 |
HttpClientFetcher
@Inject
public HttpClientFetcher(org.apache.shindig.gadgets.http.HttpCache cache,
Whitelist whitelist,
com.atlassian.sal.api.ApplicationProperties applicationProperties)
fetch
public org.apache.shindig.gadgets.http.HttpResponse fetch(org.apache.shindig.gadgets.http.HttpRequest request)
-
- Specified by:
fetch
in interface org.apache.shindig.gadgets.http.HttpFetcher
Copyright © 2014 Atlassian. All Rights Reserved.