@Override protected void configure() { providers.forEach(provider -> bind(provider).to(HeaderDelegateProvider.class)); }
@Override protected void configure() { providers.forEach(provider -> bind(provider).to(HeaderDelegateProvider.class)); }
@Override protected void configure() { providers.forEach(provider -> bind(provider).to(HeaderDelegateProvider.class)); }
@Override protected void configure() { bind(CacheControlProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(CookieProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(DateProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(EntityTagProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(LinkProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(LocaleProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(MediaTypeProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(NewCookieProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(StringHeaderProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(UriProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); } }
@Override protected void configure() { bind(CacheControlProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(CookieProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(DateProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(EntityTagProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(LinkProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(LocaleProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(MediaTypeProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(NewCookieProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(StringHeaderProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(UriProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); } }
@Override protected void configure() { bind(CacheControlProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(CookieProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(DateProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(EntityTagProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(LinkProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(LocaleProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(MediaTypeProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(NewCookieProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(StringHeaderProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); bind(UriProvider.class).to(HeaderDelegateProvider.class).in(Singleton.class); } }
@Override protected void configure() { providers.forEach(provider -> bind(provider).to(HeaderDelegateProvider.class)); }