Home
last modified time | relevance | path

Searched refs:serveRegex (Results 1 – 6 of 6) sorted by relevance

/external/guice/extensions/servlet/test/com/google/inject/servlet/
DEdslTest.java90 serveRegex("/person/[0-8]*").with(DummyServlet.class); in testConfigureServlets()
91 serveRegex("/person/[0-9]*").with(DummyServlet.class, new HashMap<String, String>()); in testConfigureServlets()
93 serveRegex("/person/[0-6]*").with(Key.get(DummyServlet.class)); in testConfigureServlets()
94 serveRegex("/person/[0-9]/2/*") in testConfigureServlets()
97 serveRegex("/person/[0-5]*").with(new DummyServlet()); in testConfigureServlets()
98 serveRegex("/person/[0-9]/3/*").with(new DummyServlet(), new HashMap<String, String>()); in testConfigureServlets()
DExtensionSpiTest.java282 serveRegex("/class[0-9]", "/class[0-9]/2").with(DummyServlet.class); in configureServlets()
283 serveRegex("/key[0-9]", "/key[0-9]/2").with(Key.get(DummyServlet.class, Names.named("foo"))); in configureServlets()
284 serveRegex("/instance[0-9]", "/instance[0-9]/2").with(dummyServlet3); in configureServlets()
285 serveRegex("/class[0-9]/keyvalues", "/class[0-9]/keyvalues/2") in configureServlets()
287 serveRegex("/key[0-9]/keyvalues", "/key[0-9]/keyvalues/2") in configureServlets()
289 serveRegex("/instance[0-9]/keyvalues", "/instance[0-9]/keyvalues/2") in configureServlets()
DServletModuleTest.java75 serveRegex("/(foo|bar/").with(new DummyServlet()); in testServletModule_badPattern()
DServletDispatchIntegrationTest.java287 serveRegex("(.)*\\.html").with(TestServlet.class); in testQueryInRequestUri_regex()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletModule.java308 protected final ServletKeyBindingBuilder serveRegex(String regex, String... regexes) { in serveRegex() method in ServletModule
310 .serveRegex(ImmutableList.<String>builder().add(regex).add(regexes).build()); in serveRegex()
317 protected final ServletKeyBindingBuilder serveRegex(Iterable<String> regexes) { in serveRegex() method in ServletModule
318 return getServletModuleBuilder().serveRegex(ImmutableList.copyOf(regexes)); in serveRegex()
DServletsModuleBuilder.java49 public ServletModule.ServletKeyBindingBuilder serveRegex(List<String> regexes) { in serveRegex() method in ServletsModuleBuilder