Class BinderUtils

java.lang.Object
org.jclouds.rest.config.BinderUtils

public class BinderUtils extends Object
  • Constructor Details

    • BinderUtils

      public BinderUtils()
  • Method Details

    • bindHttpApi

      public static <S, A> void bindHttpApi(com.google.inject.Binder binder, Class<A> api)
      adds an explicit binding for async by parsing its annotations.
      Type Parameters:
      S - sync interface that blocks
      A - api type with http annotations
      Parameters:
      binder - guice binder
      api - type with http annotations