/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | GuiceFilter.java | 64 public class GuiceFilter implements Filter { class 80 + GuiceFilter.class.getSimpleName() + " running " 85 private static final Logger LOGGER = Logger.getLogger(GuiceFilter.class.getName()); 87 public GuiceFilter() { in GuiceFilter() method in GuiceFilter 92 @Inject GuiceFilter(FilterPipeline filterPipeline) { in GuiceFilter() method in GuiceFilter 102 if (GuiceFilter.pipeline instanceof ManagedFilterPipeline) { in setPipeline() 107 GuiceFilter.pipeline = pipeline; in setPipeline() 124 Context previous = GuiceFilter.localContext.get(); in doFilter() 167 + " have forgotten to apply " + GuiceFilter.class.getName() in getContext() 214 GuiceFilter.servletContext = new WeakReference<ServletContext>(servletContext); in init()
|
D | InternalServletModule.java | 77 return GuiceFilter.getServletContext(); in get() 91 requestStaticInjection(GuiceFilter.class); in configure() 101 @Provides @Singleton @ScopingOnly GuiceFilter provideScopingOnlyGuiceFilter() { in provideScopingOnlyGuiceFilter() 102 return new GuiceFilter(new DefaultFilterPipeline()); in provideScopingOnlyGuiceFilter() 106 return GuiceFilter.getRequest(Key.get(HttpServletRequest.class)); in provideHttpServletRequest() 110 return GuiceFilter.getResponse(Key.get(HttpServletResponse.class)); in provideHttpServletResponse() 114 return GuiceFilter.getRequest(Key.get(HttpSession.class)).getSession(); in provideHttpSession()
|
D | ServletScopes.java | 74 if (null == GuiceFilter.localContext.get()) { 107 HttpServletRequest request = GuiceFilter.getOriginalRequest(key); 152 HttpSession session = GuiceFilter.getRequest(key).getSession(); 222 GuiceFilter.getRequest(Key.get(HttpServletRequest.class))); in continueRequest() 230 checkScopingState(null == GuiceFilter.localContext.get(), in continueRequest() 232 return new GuiceFilter.Context(continuingRequest, continuingRequest, null) in continueRequest() 262 return (GuiceFilter.localContext.get() != null) 268 final GuiceFilter.Context context = GuiceFilter.localContext.get(); 340 checkScopingState(null == GuiceFilter.localContext.get(),
|
D | FilterChainInvocation.java | 70 GuiceFilter.Context previous = GuiceFilter.localContext.get(); in doFilter() 75 GuiceFilter.localContext.set(new GuiceFilter.Context(originalRequest, request, response)); in doFilter() 104 GuiceFilter.localContext.set(previous); in doFilter()
|
D | ServletDefinition.java | 282 GuiceFilter.Context previous = GuiceFilter.localContext.get(); in doServiceImpl() 285 GuiceFilter.localContext.set(new GuiceFilter.Context(originalRequest, request, response)); in doServiceImpl() 289 GuiceFilter.localContext.set(previous); in doServiceImpl()
|
D | GuiceServletContextListener.java | 45 GuiceFilter.servletContext = new WeakReference<ServletContext>(servletContext); in contextInitialized()
|
D | ServletModule.java | 291 return GuiceFilter.getServletContext(); in getServletContext()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | InvalidScopeBindingTest.java | 25 GuiceFilter.reset(); in tearDown() 29 GuiceFilter guiceFilter = new GuiceFilter(); in testServletInNonSingletonScopeThrowsServletException() 49 GuiceFilter guiceFilter = new GuiceFilter(); in testFilterInNonSingletonScopeThrowsServletException() 69 GuiceFilter guiceFilter = new GuiceFilter(); in testHappyCaseFilter()
|
D | ServletTest.java | 84 GuiceFilter.reset(); in setUp() 126 GuiceFilter filter = new GuiceFilter(); in testRequestAndResponseBindings() 195 GuiceFilter filter = new GuiceFilter(); in testRequestAndResponseBindings_wrappingFilter() 278 GuiceFilter filter = new GuiceFilter(); in testRequestAndResponseBindings_matchesPassedParameters() 294 GuiceFilter filter = new GuiceFilter(); in testNewRequestObject() 315 GuiceFilter filter = new GuiceFilter(); in testExistingRequestObject() 340 GuiceFilter filter = new GuiceFilter(); in testNewSessionObject() 361 GuiceFilter filter = new GuiceFilter(); in testExistingSessionObject() 386 GuiceFilter filter = new GuiceFilter(); in testHttpSessionIsSerializable() 430 new GuiceFilter().doFilter(request, null, filterChain); in testGuiceFilterConstructors() [all …]
|
D | FilterPipelineTest.java | 38 GuiceFilter.reset(); in setUp() 58 GuiceFilter.reset(); in tearDown() 89 final GuiceFilter webFilter = new GuiceFilter(); in testDispatchThruGuiceFilter()
|
D | ContinuingRequestIntegrationTest.java | 105 injector.getInstance(GuiceFilter.class).destroy(); in tearDown() 123 GuiceFilter guiceFilter = injector.getInstance(GuiceFilter.class); in testRequestContinuesInOtherThread() 166 GuiceFilter guiceFilter = injector.getInstance(GuiceFilter.class); in testRequestContinuationDiesInHttpRequestThread()
|
D | InjectedFilterPipelineTest.java | 105 GuiceFilter webFilter = injector1.getInstance(GuiceFilter.class); in testDispatchThruInjectedGuiceFilter() 144 webFilter = injector2.getInstance(GuiceFilter.class); in testDispatchThruInjectedGuiceFilter()
|
D | ContextPathTest.java | 59 private GuiceFilter guiceFilter; 91 guiceFilter = new GuiceFilter(); in setUp()
|
D | ServletDispatchIntegrationTest.java | 61 GuiceFilter.reset(); in setUp() 261 new GuiceFilter() in testForwardUsingRequestDispatcher()
|
D | MultiModuleDispatchIntegrationTest.java | 43 GuiceFilter.reset(); in setUp()
|
D | ServletSpiVisitor.java | 67 GuiceFilter.class); in ServletSpiVisitor()
|
D | VarargsFilterDispatchIntegrationTest.java | 43 GuiceFilter.reset(); in setUp()
|
D | VarargsServletDispatchIntegrationTest.java | 59 GuiceFilter.reset(); in setUp()
|
D | FilterDispatchIntegrationTest.java | 70 GuiceFilter.reset(); in setUp()
|