> +   @Override
> +   protected void configure() {
> +      super.configure();
> +      bind(RequestAuthorization.class).in(Scopes.SINGLETON);
> +   }
> +
> +   @Override
> +   protected void bindErrorHandlers() {
> +      
> bind(HttpErrorHandler.class).annotatedWith(Redirection.class).to(ParseB2ErrorFromJsonContent.class);
> +      
> bind(HttpErrorHandler.class).annotatedWith(ClientError.class).to(ParseB2ErrorFromJsonContent.class);
> +      
> bind(HttpErrorHandler.class).annotatedWith(ServerError.class).to(ParseB2ErrorFromJsonContent.class);
> +   }
> +
> +   @Provides
> +   @Singleton
> +   static Supplier<Authorization> provideAuthorizationCache(final B2Api 
> b2Api) {

I made some changes to the authorization cache to support upcoming commits.

---
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/2a136008e73694853e887a138883638321393bdd#r64795475

Reply via email to