Home
last modified time | relevance | path

Searched refs:servletDefinition (Results 1 – 4 of 4) sorted by relevance

/external/guice/extensions/servlet/src/com/google/inject/servlet/
DManagedServletPipeline.java81 for (ServletDefinition servletDefinition : servletDefinitions) { in init()
82 servletDefinition.init(servletContext, injector, initializedSoFar); in init()
90 for (ServletDefinition servletDefinition : servletDefinitions) { in service()
91 if (servletDefinition.service(request, response)) { in service()
102 for (ServletDefinition servletDefinition : servletDefinitions) { in destroy()
103 servletDefinition.destroy(destroyedSoFar); in destroy()
117 for (final ServletDefinition servletDefinition : servletDefinitions) { in getRequestDispatcher()
118 if (servletDefinition.shouldServe(path)) { in getRequestDispatcher()
140 doServiceImpl(servletDefinition, requestToProcess, servletResponse); in getRequestDispatcher()
146 doServiceImpl(servletDefinition, servletRequest, servletResponse); in getRequestDispatcher()
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletDefinitionPathsTest.java98 ServletDefinition servletDefinition = new ServletDefinition(mapping, Key.get(HttpServlet.class), in servletPath() local
101 servletDefinition.init(null, injector, Sets.<HttpServlet>newIdentityHashSet()); in servletPath()
102 servletDefinition.doService(request, response); in servletPath()
198 ServletDefinition servletDefinition = new ServletDefinition(mapping, Key.get(HttpServlet.class), in pathInfoWithServletStyleMatching() local
201 servletDefinition.init(null, injector, Sets.<HttpServlet>newIdentityHashSet()); in pathInfoWithServletStyleMatching()
202 servletDefinition.doService(request, response); in pathInfoWithServletStyleMatching()
298 ServletDefinition servletDefinition = new ServletDefinition(mapping, Key.get(HttpServlet.class), in pathInfoWithRegexMatching() local
301 servletDefinition.init(null, injector, Sets.<HttpServlet>newIdentityHashSet()); in pathInfoWithRegexMatching()
302 servletDefinition.doService(request, response); in pathInfoWithRegexMatching()
DServletPipelineRequestDispatcherTest.java67 final ServletDefinition servletDefinition = new ServletDefinition(pattern, in testIncludeManagedServlet() local
107 Provider<ServletDefinition> bindingProvider = Providers.of(servletDefinition); in testIncludeManagedServlet()
114 servletDefinition.init(null, injector, Sets.<HttpServlet>newIdentityHashSet()); in testIncludeManagedServlet()
130 final ServletDefinition servletDefinition = new ServletDefinition(pattern, in testForwardToManagedServlet() local
177 Provider<ServletDefinition> bindingProvider = Providers.of(servletDefinition); in testForwardToManagedServlet()
184 servletDefinition.init(null, injector, Sets.<HttpServlet>newIdentityHashSet()); in testForwardToManagedServlet()
213 final ServletDefinition servletDefinition = new ServletDefinition(pattern, in forwardToManagedServletFailureOnCommittedBuffer() local
249 Provider<ServletDefinition> bindingProvider = Providers.of(servletDefinition); in forwardToManagedServletFailureOnCommittedBuffer()
256 servletDefinition.init(null, injector, Sets.<HttpServlet>newIdentityHashSet()); in forwardToManagedServletFailureOnCommittedBuffer()
DServletDefinitionTest.java75 final ServletDefinition servletDefinition = new ServletDefinition(pattern, in testServletInitAndConfig() local
85 servletDefinition.init(servletContext, injector, Sets.<HttpServlet>newIdentityHashSet()); in testServletInitAndConfig()
111 final ServletDefinition servletDefinition = new ServletDefinition(pattern, in testServiceWithContextPath() local
120 servletDefinition.service(servletRequest, servletResponse); in testServiceWithContextPath()