Home
last modified time | relevance | path

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

/external/guice/extensions/servlet/test/com/google/inject/servlet/
DEdslTest.java91 serveRegex("/person/[0-8]*").with(DummyServlet.class); in testConfigureServlets()
92 serveRegex("/person/[0-9]*").with(DummyServlet.class, in testConfigureServlets()
95 serveRegex("/person/[0-6]*").with(Key.get(DummyServlet.class)); in testConfigureServlets()
96 serveRegex("/person/[0-9]/2/*").with(Key.get(DummyServlet.class), in testConfigureServlets()
99 serveRegex("/person/[0-5]*").with(new DummyServlet()); in testConfigureServlets()
100 serveRegex("/person/[0-9]/3/*").with(new DummyServlet(), in testConfigureServlets()
DExtensionSpiTest.java180 serveRegex("/class[0-9]", "/class[0-9]/2").with(DummyServlet.class); in configureServlets()
181 serveRegex("/key[0-9]", "/key[0-9]/2").with( in configureServlets()
183 serveRegex("/instance[0-9]", "/instance[0-9]/2").with(dummyServlet3); in configureServlets()
184 serveRegex("/class[0-9]/keyvalues", "/class[0-9]/keyvalues/2").with( in configureServlets()
186 serveRegex("/key[0-9]/keyvalues", "/key[0-9]/keyvalues/2").with( in configureServlets()
188 serveRegex("/instance[0-9]/keyvalues", "/instance[0-9]/keyvalues/2").with( in configureServlets()
DServletDispatchIntegrationTest.java276 serveRegex("(.)*\\.html").with(TestServlet.class); in testQueryInRequestUri_regex()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletModule.java279 protected final ServletKeyBindingBuilder serveRegex(String regex, String... regexes) { in serveRegex() method in ServletModule
281 .serveRegex(ImmutableList.<String>builder().add(regex).add(regexes).build()); in serveRegex()
DServletsModuleBuilder.java51 public ServletModule.ServletKeyBindingBuilder serveRegex(List<String> regexes) { in serveRegex() method in ServletsModuleBuilder