/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ExtensionSpiTest.java | 20 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 …]
|
D | UriPatternTypeTest.java | 25 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()
|
D | FilterDefinitionTest.java | 71 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()
|
D | ServletDefinitionTest.java | 76 …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()
|
D | ServletPipelineRequestDispatcherTest.java | 68 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()
|
D | ServletDefinitionPathsTest.java | 99 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/ |
D | UriPatternType.java | 27 SERVLET, REGEX; enumConstant 31 case SERVLET: in get() 108 return UriPatternType.SERVLET; in getPatternType()
|
D | FiltersModuleBuilder.java | 44 return new FilterKeyBindingBuilderImpl(patterns, UriPatternType.SERVLET); in filter()
|
D | ServletsModuleBuilder.java | 48 return new ServletKeyBindingBuilderImpl(urlPatterns, UriPatternType.SERVLET); in serve()
|