Home
last modified time | relevance | path

Searched refs:getServletContext (Results 1 – 12 of 12) sorted by relevance

/external/guice/extensions/servlet/src/com/google/inject/servlet/
DGuiceServletContextListener.java39 final ServletContext servletContext = servletContextEvent.getServletContext(); in contextInitialized()
54 ServletContext servletContext = servletContextEvent.getServletContext(); in contextDestroyed()
DServletModule.java328 protected final ServletContext getServletContext() { in getServletContext() method in ServletModule
329 return GuiceFilter.getServletContext(); in getServletContext()
DGuiceFilter.java158 static ServletContext getServletContext() { in getServletContext() method in GuiceFilter
223 final ServletContext servletContext = filterConfig.getServletContext();
DInternalServletModule.java78 return GuiceFilter.getServletContext(); in get()
DFilterDefinition.java118 public ServletContext getServletContext() { in init()
DServletDefinition.java127 public ServletContext getServletContext() { in init()
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletDefinitionTest.java84 assertNotNull(mockServlet.getServletContext()); in testServletInitAndConfig()
85 assertEquals(contextName, mockServlet.getServletContext().getServletContextName()); in testServletInitAndConfig()
DInjectedFilterPipelineTest.java87 expect(filterConfig.getServletContext()).andReturn(servletContext).once(); in testDispatchThruInjectedGuiceFilter()
118 expect(filterConfig.getServletContext()).andReturn(servletContext).once(); in testDispatchThruInjectedGuiceFilter()
DContinuingRequestIntegrationTest.java127 expect(filterConfig.getServletContext()).andReturn(createMock(ServletContext.class)); in testRequestContinuesInOtherThread()
171 expect(filterConfig.getServletContext()).andReturn(createMock(ServletContext.class)); in testRequestContinuationDiesInHttpRequestThread()
DFilterPipelineTest.java69 expect(filterConfig.getServletContext()).andReturn(servletContext).once(); in testDispatchThruGuiceFilter()
DContextPathTest.java92 expect(filterConfig.getServletContext()).andReturn(servletContext).anyTimes(); in setUp()
DFilterDefinitionTest.java76 assertEquals(contextName, filterConfig.getServletContext().getServletContextName()); in testFilterInitAndConfig()