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.java79 for (ServletDefinition servletDefinition : servletDefinitions) { in init()
80 servletDefinition.init(servletContext, injector, initializedSoFar); in init()
88 for (ServletDefinition servletDefinition : servletDefinitions) { in service()
89 if (servletDefinition.service(request, response)) { in service()
100 for (ServletDefinition servletDefinition : servletDefinitions) { in destroy()
101 servletDefinition.destroy(destroyedSoFar); in destroy()
115 for (final ServletDefinition servletDefinition : servletDefinitions) { in getRequestDispatcher()
116 if (servletDefinition.shouldServe(path)) { in getRequestDispatcher()
140 doServiceImpl(servletDefinition, requestToProcess, servletResponse); in getRequestDispatcher()
147 doServiceImpl(servletDefinition, servletRequest, servletResponse); in getRequestDispatcher()
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletDefinitionPathsTest.java96 ServletDefinition servletDefinition = in servletPath() local
103 servletDefinition.init(null, injector, Sets.<HttpServlet>newIdentityHashSet()); in servletPath()
104 servletDefinition.doService(request, response); in servletPath()
203 ServletDefinition servletDefinition = in pathInfoWithServletStyleMatching() local
210 servletDefinition.init(null, injector, Sets.<HttpServlet>newIdentityHashSet()); in pathInfoWithServletStyleMatching()
211 servletDefinition.doService(request, response); in pathInfoWithServletStyleMatching()
314 ServletDefinition servletDefinition = in pathInfoWithRegexMatching() local
321 servletDefinition.init(null, injector, Sets.<HttpServlet>newIdentityHashSet()); in pathInfoWithRegexMatching()
322 servletDefinition.doService(request, response); in pathInfoWithRegexMatching()
DServletPipelineRequestDispatcherTest.java63 final ServletDefinition servletDefinition = in testIncludeManagedServlet() local
102 Provider<ServletDefinition> bindingProvider = Providers.of(servletDefinition); in testIncludeManagedServlet()
108 servletDefinition.init(null, injector, Sets.<HttpServlet>newIdentityHashSet()); in testIncludeManagedServlet()
123 final ServletDefinition servletDefinition = in testForwardToManagedServlet() local
169 Provider<ServletDefinition> bindingProvider = Providers.of(servletDefinition); in testForwardToManagedServlet()
175 servletDefinition.init(null, injector, Sets.<HttpServlet>newIdentityHashSet()); in testForwardToManagedServlet()
203 final ServletDefinition servletDefinition = in forwardToManagedServletFailureOnCommittedBuffer() local
239 Provider<ServletDefinition> bindingProvider = Providers.of(servletDefinition); in forwardToManagedServletFailureOnCommittedBuffer()
245 servletDefinition.init(null, injector, Sets.<HttpServlet>newIdentityHashSet()); in forwardToManagedServletFailureOnCommittedBuffer()
DServletDefinitionTest.java69 final ServletDefinition servletDefinition = in testServletInitAndConfig() local
82 servletDefinition.init(servletContext, injector, Sets.<HttpServlet>newIdentityHashSet()); in testServletInitAndConfig()
109 final ServletDefinition servletDefinition = in testServiceWithContextPath() local
121 servletDefinition.service(servletRequest, servletResponse); in testServiceWithContextPath()