Home
last modified time | relevance | path

Searched refs:UriPatternType (Results 1 – 13 of 13) sorted by relevance

/external/guice/extensions/servlet/test/com/google/inject/servlet/
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()
51 UriPatternMatcher pattern = UriPatternType.get(UriPatternType.REGEX, "/.*/foo"); in testMatches_regex()
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()
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()
299 UriPatternType.get(UriPatternType.REGEX, mapping), new HashMap<String, String>(), null); in pathInfoWithRegexMatching()
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()
DServletSpiVisitor.java108 private final UriPatternType patternType;
117 Params(String pattern, Object keyOrInstance, Map params, UriPatternType patternType) { in Params()
DExtensionSpiTest.java19 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/
DUriPatternType.java26 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()
DFiltersModuleBuilder.java44 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()
DServletsModuleBuilder.java48 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()
DUriPatternMatcher.java43 UriPatternType getPatternType(); in getPatternType()
DServletModuleBinding.java30 UriPatternType getUriPatternType(); in getUriPatternType()
DAbstractServletModuleBinding.java53 public UriPatternType getUriPatternType() { in getUriPatternType()