@Override protected void configure() { bindConstant().annotatedWith(Names.named("requestMethod")).to("POST"); bindConstant() .annotatedWith(Names.named("oAuth2RefreshWindow")).to(DEFAULT_OAUTH2_REFRESH_WINDOW); } }
/** * Configure common Guice bindings. */ @Override protected void configure() { install(new AuthModule()); }
/** * Configure common Guice bindings. */ @Override protected void configure() { install(new AuthModule()); }
@Override protected void configure() { bindConstant().annotatedWith(Names.named("requestMethod")).to("POST"); bindConstant() .annotatedWith(Names.named("oAuth2RefreshWindow")).to(DEFAULT_OAUTH2_REFRESH_WINDOW); } }