Searched refs:RequestScoped (Results 1 – 9 of 9) sorted by relevance
83 bindScope(RequestScoped.class, REQUEST); in configure()105 @Provides @RequestScoped HttpServletRequest provideHttpServletRequest() { in provideHttpServletRequest()109 @Provides @RequestScoped HttpServletResponse provideHttpServletResponse() { in provideHttpServletResponse()118 @Provides @RequestScoped @RequestParameters Map<String, String[]> provideRequestParameters( in provideRequestParameters()
34 public @interface RequestScoped {} annotation
301 return Scopes.isScoped(binding, ServletScopes.REQUEST, RequestScoped.class);
63 bind(SomeObject.class).in(RequestScoped.class); in testNonHttpRequestScopedCallable()96 bind(SomeObject.class).in(RequestScoped.class); in testWrongValueClasses()114 bind(SomeObject.class).in(RequestScoped.class); in testNullReplacement()133 @RequestScoped
69 bind(d).toProvider(Providers.of("d")).in(RequestScoped.class); in testIsRequestScopedPositive()74 bind(f).toProvider(Providers.of("f")).in(RequestScoped.class); in testIsRequestScopedPositive()82 @RequestScoped in testIsRequestScopedPositive()179 @RequestScoped
65 bindScope(RequestScoped.class, ServletScopes.REQUEST); in testTransferNonHttpRequest()68 @Provides @RequestScoped Object provideObject() { in testTransferNonHttpRequest()
92 @Provides @RequestScoped String provideString() { return "foo"; } in testScopeExceptions()94 @Provides @RequestScoped @Named("foo") String provideNamedString() { return "foo"; } in testScopeExceptions()458 bind(IN_REQUEST_NULL_KEY).toProvider(Providers.<InRequest>of(null)).in(RequestScoped.class); in createInjector()466 @RequestScoped
93 @RequestScoped
194 @RequestScoped