Home
last modified time | relevance | path

Searched refs:SERVLET (Results 1 – 9 of 9) sorted by relevance

/external/guice/extensions/servlet/test/com/google/inject/servlet/
DExtensionSpiTest.java20 import static com.google.inject.servlet.UriPatternType.SERVLET;
81 new Params("/class", Key.get(DummyFilterImpl.class), ImmutableMap.of(), SERVLET), in validateVisitor()
82 new Params("/class/2", Key.get(DummyFilterImpl.class), ImmutableMap.of(), SERVLET), in validateVisitor()
83 …new Params("/key", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), SERVLET), in validateVisitor()
84 …w Params("/key/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), SERVLET), in validateVisitor()
85 new Params("/instance", dummyFilter1, ImmutableMap.of(), SERVLET), in validateVisitor()
86 new Params("/instance/2", dummyFilter1, ImmutableMap.of(), SERVLET), in validateVisitor()
87 …rams("/class/keyvalues", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), SERVLET), in validateVisitor()
88 …ms("/class/keyvalues/2", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), SERVLET), in validateVisitor()
89 …es", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of("key", "value"), SERVLET), in validateVisitor()
[all …]
DUriPatternTypeTest.java25 UriPatternMatcher pattern = UriPatternType.get(UriPatternType.SERVLET, "/foo/*"); in testMatches_servlet()
33 pattern = UriPatternType.get(UriPatternType.SERVLET, "*.bar"); in testMatches_servlet()
41 pattern = UriPatternType.get(UriPatternType.SERVLET, "/asdf"); in testMatches_servlet()
DFilterDefinitionTest.java71 UriPatternType.get(UriPatternType.SERVLET, pattern), initParams, null); in testFilterInitAndConfig()
116 UriPatternType.get(UriPatternType.SERVLET, pattern), in testFilterCreateDispatchDestroy()
177 UriPatternType.get(UriPatternType.SERVLET, pattern), in testFilterCreateDispatchDestroySupressChain()
209 UriPatternType.get(UriPatternType.SERVLET, pattern), in testGetFilterIfMatching()
244 UriPatternType.get(UriPatternType.SERVLET, pattern), in testGetFilterIfMatchingNotMatching()
DServletDefinitionTest.java76 …Key.get(HttpServlet.class), UriPatternType.get(UriPatternType.SERVLET, pattern), initParams, null); in testServletInitAndConfig()
112 Key.get(HttpServlet.class), UriPatternType.get(UriPatternType.SERVLET, pattern), in testServiceWithContextPath()
DServletPipelineRequestDispatcherTest.java68 Key.get(HttpServlet.class), UriPatternType.get(UriPatternType.SERVLET, pattern), in testIncludeManagedServlet()
131 Key.get(HttpServlet.class), UriPatternType.get(UriPatternType.SERVLET, pattern), in testForwardToManagedServlet()
214 Key.get(HttpServlet.class), UriPatternType.get(UriPatternType.SERVLET, pattern), in forwardToManagedServletFailureOnCommittedBuffer()
DServletDefinitionPathsTest.java99 UriPatternType.get(UriPatternType.SERVLET, mapping), new HashMap<String, String>(), null); in servletPath()
199 UriPatternType.get(UriPatternType.SERVLET, mapping), new HashMap<String, String>(), null); in pathInfoWithServletStyleMatching()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DUriPatternType.java27 SERVLET, REGEX; enumConstant
31 case SERVLET: in get()
108 return UriPatternType.SERVLET; in getPatternType()
DFiltersModuleBuilder.java44 return new FilterKeyBindingBuilderImpl(patterns, UriPatternType.SERVLET); in filter()
DServletsModuleBuilder.java48 return new ServletKeyBindingBuilderImpl(urlPatterns, UriPatternType.SERVLET); in serve()