jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds/jclouds-labs] JCLOUDS-1005: Backblaze B2 skeleton and bucket ops (#270)
Date Tue, 24 May 2016 22:56:15 GMT
> +import com.google.common.cache.CacheBuilder;
> +import com.google.common.cache.CacheLoader;
> +import com.google.common.cache.LoadingCache;
> +
> +@Singleton
> +public class RequestAuthorization implements HttpRequestFilter {
> +   @Resource
> +   @Named(Constants.LOGGER_SIGNATURE)
> +   Logger signatureLog = Logger.NULL;
> +
> +   private final Supplier<Credentials> creds;
> +   private final HttpUtils utils;
> +   private final LoadingCache<Credentials, Authorization> cache;
> +
> +   @Inject
> +   public RequestAuthorization(@Provider Supplier<Credentials> creds, final B2Api
b2Api, HttpUtils utils) {

Done.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/270/files/8bb355e1b286b2bbf77fd8d3cb75cd2d1aa6bc69#r64489654
Mime
View raw message