Home
last modified time | relevance | path

Searched refs:serve (Results 1 – 25 of 259) sorted by relevance

1234567891011

/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletDispatchIntegrationTest.java69 serve("/*").with(TestServlet.class); in testDispatchRequestToManagedPipelineServlets()
72 serve("*.html").with(NeverServlet.class); in testDispatchRequestToManagedPipelineServlets()
73 serve("/test/*").with(Key.get(NeverServlet.class)); in testDispatchRequestToManagedPipelineServlets()
74 serve("/index/*").with(Key.get(NeverServlet.class)); in testDispatchRequestToManagedPipelineServlets()
75 serve("*.jsp").with(Key.get(NeverServlet.class)); in testDispatchRequestToManagedPipelineServlets()
118 serve("/*").with(TestServlet.class); in testDispatchRequestToManagedPipelineWithFilter()
121 serve("*.html").with(NeverServlet.class); in testDispatchRequestToManagedPipelineWithFilter()
122 serve("/test/*").with(Key.get(NeverServlet.class)); in testDispatchRequestToManagedPipelineWithFilter()
123 serve("/index/*").with(Key.get(NeverServlet.class)); in testDispatchRequestToManagedPipelineWithFilter()
124 serve("*.jsp").with(Key.get(NeverServlet.class)); in testDispatchRequestToManagedPipelineWithFilter()
[all …]
DEdslTest.java48 serve("/*").with(DummyServlet.class); in testExplicitBindingsWorksWithGuiceServlet()
82 serve("/1/*").with(DummyServlet.class); in testConfigureServlets()
83 serve("/2/*").with(Key.get(DummyServlet.class)); in testConfigureServlets()
84 serve("/3/*").with(new DummyServlet()); in testConfigureServlets()
85 serve("/4/*").with(DummyServlet.class, new HashMap<String, String>()); in testConfigureServlets()
87 serve("*.htm").with(Key.get(DummyServlet.class)); in testConfigureServlets()
88 serve("*.html").with(Key.get(DummyServlet.class), new HashMap<String, String>()); in testConfigureServlets()
DVarargsServletDispatchIntegrationTest.java67 serve("/*", "/index.html").with(TestServlet.class); in testDispatchRequestToManagedPipelineServlets()
70 serve("*.html", "/o/*", "/index/*", "*.jsp").with(Key.get(NeverServlet.class)); in testDispatchRequestToManagedPipelineServlets()
110 serve("/notindex", "/&*", "/index.html").with(TestServlet.class); in testVarargsSkipDispatchRequestToManagedPipelineServlets()
113 serve("*.html", "/*", "/index/*", "*.jsp").with(Key.get(NeverServlet.class)); in testVarargsSkipDispatchRequestToManagedPipelineServlets()
155 serve("/*").with(TestServlet.class); in testDispatchRequestToManagedPipelineWithFilter()
158 serve("*.html", "/y/*", "/index/*", "*.jsp").with(Key.get(NeverServlet.class)); in testDispatchRequestToManagedPipelineWithFilter()
DExtensionSpiTest.java272 serve("/class", "/class/2").with(DummyServlet.class); in configureServlets()
273 serve("/key", "/key/2").with(Key.get(DummyServlet.class, Names.named("foo"))); in configureServlets()
274 serve("/instance", "/instance/2").with(dummyServlet1); in configureServlets()
275 serve("/class/keyvalues", "/class/keyvalues/2") in configureServlets()
277 serve("/key/keyvalues", "/key/keyvalues/2") in configureServlets()
279 serve("/instance/keyvalues", "/instance/keyvalues/2") in configureServlets()
DServletModuleTest.java40 serve("/*").with(DummyServlet.class); in testServletModuleCallOutsideConfigure()
74 serve("/%2E/*").with(new DummyServlet()); in testServletModule_badPattern()
89 serve("/sam/*").with(new DummyServlet()); in configureServlets()
DMultipleServletInjectorsTest.java68 serve("/*").with(DummyServlet.class); in testTwoInjectors()
92 serve("/*").with(HttpServlet.class); in testTwoInjectors()
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/
DWebSocketResponseHandlerTest.java121 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session); in testConnectionHeaderHandlesKeepAlive_FixingFirefoxConnectIssue()
128 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session); in testHandshakeReturnsResponseWithExpectedHeaders()
140 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session); in testMissingKeyReturnsErrorResponse()
149 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session); in testWrongConnectionHeaderReturnsNullResponse()
156 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session); in testWrongUpgradeHeaderReturnsNullResponse()
164 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session); in testWrongWebsocketVersionReturnsErrorResponse()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletModule.java291 protected final ServletKeyBindingBuilder serve(String urlPattern, String... morePatterns) { in serve() method in ServletModule
293 .serve(ImmutableList.<String>builder().add(urlPattern).add(morePatterns).build()); in serve()
300 protected final ServletKeyBindingBuilder serve(Iterable<String> urlPatterns) { in serve() method in ServletModule
301 return getServletModuleBuilder().serve(ImmutableList.copyOf(urlPatterns)); in serve()
DServletDefinition.java180 final boolean serve = shouldServe(path); in service()
183 if (serve) { in service()
188 return serve; in service()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_server.py37 async def serve(reader, writer): function
50 serve, support.HOSTv4, 0, loop=self.loop, start_serving=False))
89 async def serve(reader, writer): function
107 serve, addr, loop=self.loop, start_serving=False))
/external/grpc-grpc/examples/python/helloworld/
Dgreeter_server.py33 def serve(): function
46 serve()
Dgreeter_server_with_reflection.py34 def serve(): function
52 serve()
/external/grpc-grpc/examples/python/interceptors/headers/
Dgreeter_server.py34 def serve(): function
52 serve()
/external/autotest/client/site_tests/platform_AccurateTime/
Dplatform_AccurateTime.py18 def serve(self): member in platform_AccurateTime
36 self.serve()
/external/grpc-grpc/src/python/grpcio_tests/tests/interop/
Dserver.py33 def serve(): function
68 serve()
/external/autotest/site_utils/lxc/
Dunittest_http.py43 def serve(): function
47 p = multiprocessing.Process(target=serve)
/external/python/cpython2/Doc/
Dmake.bat48 if "%1" EQU "serve" goto serve
85 echo. clean, check, serve, htmlview
137 :serve label
138 cmd /S /C "%PYTHON% ..\Tools\scripts\serve.py "%BUILDDIR%\html""
DMakefile17 suspicious coverage doctest pydoc-topics htmlview clean dist check serve \
153 serve: target
154 ../Tools/scripts/serve.py build/html
/external/skia/modules/pathkit/
Dcompile.sh130 if [[ $@ == *serve* ]]; then
132 python serve.py
DMakefile112 python serve.py
122 python serve.py
133 python serve.py
144 python serve.py
/external/perfetto/tools/
Ddev_server49 def serve(self): member in Server
167 server = Server(args.port, args.serve, rebuilder)
168 server.serve()
/external/skqp/modules/pathkit/
Dcompile.sh140 if [[ $@ == *serve* ]]; then
142 python serve.py
DMakefile112 python serve.py
122 python serve.py
133 python serve.py
144 python serve.py
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DPutStreamIntegrationTest.java59 public Response serve(IHTTPSession session) { in serve() method in PutStreamIntegrationTest.TestServer
78 …public Response serve(String uri, Method method, Map<String, String> headers, Map<String, String> … in serve() method in PutStreamIntegrationTest.TestServer
/external/python/cpython3/Doc/
Dmake.bat65 if "%1" EQU "serve" goto serve
102 echo. clean, check, serve, htmlview
174 :serve label
175 cmd /S /C "%PYTHON% ..\Tools\scripts\serve.py "%BUILDDIR%\html""

1234567891011