Searched refs:UriPatternType (Results 1 – 13 of 13) sorted by relevance
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
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() 51 UriPatternMatcher pattern = UriPatternType.get(UriPatternType.REGEX, "/.*/foo"); in testMatches_regex()
|
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 | 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() 299 UriPatternType.get(UriPatternType.REGEX, mapping), new HashMap<String, String>(), null); in pathInfoWithRegexMatching()
|
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 | ServletSpiVisitor.java | 108 private final UriPatternType patternType; 117 Params(String pattern, Object keyOrInstance, Map params, UriPatternType patternType) { in Params()
|
D | ExtensionSpiTest.java | 19 import static com.google.inject.servlet.UriPatternType.REGEX; 20 import static com.google.inject.servlet.UriPatternType.SERVLET;
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | UriPatternType.java | 26 public enum UriPatternType { enum 29 static UriPatternMatcher get(UriPatternType type, String pattern) { in get() 107 public UriPatternType getPatternType() { in getPatternType() 108 return UriPatternType.SERVLET; in getPatternType() 144 public UriPatternType getPatternType() { in getPatternType() 145 return UriPatternType.REGEX; in getPatternType()
|
D | FiltersModuleBuilder.java | 44 return new FilterKeyBindingBuilderImpl(patterns, UriPatternType.SERVLET); in filter() 48 return new FilterKeyBindingBuilderImpl(regexes, UriPatternType.REGEX); in filterRegex() 54 private final UriPatternType uriPatternType; 56 private FilterKeyBindingBuilderImpl(List<String> uriPatterns, UriPatternType uriPatternType) { in FilterKeyBindingBuilderImpl() 90 new FilterDefinition(pattern, filterKey, UriPatternType.get(uriPatternType, pattern), in through()
|
D | ServletsModuleBuilder.java | 48 return new ServletKeyBindingBuilderImpl(urlPatterns, UriPatternType.SERVLET); in serve() 52 return new ServletKeyBindingBuilderImpl(regexes, UriPatternType.REGEX); in serveRegex() 58 private final UriPatternType uriPatternType; 60 private ServletKeyBindingBuilderImpl(List<String> uriPatterns, UriPatternType uriPatternType) { in ServletKeyBindingBuilderImpl() 95 new ServletDefinition(pattern, servletKey, UriPatternType in with()
|
D | UriPatternMatcher.java | 43 UriPatternType getPatternType(); in getPatternType()
|
D | ServletModuleBinding.java | 30 UriPatternType getUriPatternType(); in getUriPatternType()
|
D | AbstractServletModuleBinding.java | 53 public UriPatternType getUriPatternType() { in getUriPatternType()
|