Searched refs:TestServlet (Results 1 – 4 of 4) sorted by relevance
50 private TestServlet fooServlet;53 private TestServlet barServlet;66 bind(TestServlet.class).annotatedWith(Names.named("foo")) in setUp()67 .to(TestServlet.class).in(Scopes.SINGLETON); in setUp()68 bind(TestServlet.class).annotatedWith(Names.named("bar")) in setUp()69 .to(TestServlet.class).in(Scopes.SINGLETON); in setUp()70 serve("/foo/*").with(Key.get(TestServlet.class, Names.named("foo"))); in setUp()71 serve("/bar/*").with(Key.get(TestServlet.class, Names.named("bar"))); in setUp()260 public static class TestServlet extends HttpServlet { class in ContextPathTest
68 serve("/*", "/index.html").with(TestServlet.class); in testDispatchRequestToManagedPipelineServlets()108 serve("/notindex", "/&*", "/index.html").with(TestServlet.class); in testVarargsSkipDispatchRequestToManagedPipelineServlets()150 serve("/*").with(TestServlet.class); in testDispatchRequestToManagedPipelineWithFilter()187 public static class TestServlet extends HttpServlet { class in VarargsServletDispatchIntegrationTest
70 serve("/*").with(TestServlet.class); in testDispatchRequestToManagedPipelineServlets()116 serve("/*").with(TestServlet.class); in testDispatchRequestToManagedPipelineWithFilter()156 public static class TestServlet extends HttpServlet { class in ServletDispatchIntegrationTest276 serveRegex("(.)*\\.html").with(TestServlet.class); in testQueryInRequestUri_regex()314 serve("/index.html").with(TestServlet.class); in testQueryInRequestUri()
88 serve("*.html").with(TestServlet.class); in testDispatchRequestToManagedPipeline()123 TestServlet servlet = injector.getInstance(TestServlet.class); in testDispatchRequestToManagedPipeline()126 assertTrue(servlet.processedUris.contains(TestServlet.FORWARD_TO)); in testDispatchRequestToManagedPipeline()234 public static class TestServlet extends HttpServlet { class in FilterDispatchIntegrationTest