Searched refs:serve (Results 1 - 25 of 45) sorted by relevance

12

/external/testng/src/test/java/test/guice/
H A DMyService.java5 void serve(MySession mySession); method in interface:MyService
H A DMyServiceProvider.java11 public void serve(MySession mySession) {
H A DGuiceParentModuleTest.java23 myService.serve(mySession);
/external/guice/extensions/servlet/test/com/google/inject/servlet/
H A DEdslTest.java47 serve("/*").with(DummyServlet.class);
82 serve("/1/*").with(DummyServlet.class);
83 serve("/2/*").with(Key.get(DummyServlet.class));
84 serve("/3/*").with(new DummyServlet());
85 serve("/4/*").with(DummyServlet.class, new HashMap<String, String>());
87 serve("*.htm").with(Key.get(DummyServlet.class));
88 serve("*.html").with(Key.get(DummyServlet.class),
H A DServletDispatchIntegrationTest.java70 serve("/*").with(TestServlet.class);
73 serve("*.html").with(NeverServlet.class);
74 serve("/test/*").with(Key.get(NeverServlet.class));
75 serve("/index/*").with(Key.get(NeverServlet.class));
76 serve("*.jsp").with(Key.get(NeverServlet.class));
116 serve("/*").with(TestServlet.class);
119 serve("*.html").with(NeverServlet.class);
120 serve("/test/*").with(Key.get(NeverServlet.class));
121 serve("/index/*").with(Key.get(NeverServlet.class));
122 serve("*
[all...]
H A DVarargsServletDispatchIntegrationTest.java68 serve("/*", "/index.html").with(TestServlet.class);
71 serve("*.html", "/o/*", "/index/*", "*.jsp").with(Key.get(NeverServlet.class));
108 serve("/notindex", "/&*", "/index.html").with(TestServlet.class);
111 serve("*.html", "/*", "/index/*", "*.jsp").with(Key.get(NeverServlet.class));
150 serve("/*").with(TestServlet.class);
153 serve("*.html", "/y/*", "/index/*", "*.jsp").with(Key.get(NeverServlet.class));
H A DMultipleServletInjectorsTest.java69 serve("/*").with(DummyServlet.class);
91 serve("/*").with(HttpServlet.class);
H A DServletModuleTest.java40 serve("/*").with(DummyServlet.class);
71 serve("/sam/*").with(new DummyServlet());
H A DExtensionSpiTest.java169 serve("/class", "/class/2").with(DummyServlet.class);
170 serve("/key", "/key/2").with(
172 serve("/instance", "/instance/2").with(dummyServlet1);
173 serve("/class/keyvalues", "/class/keyvalues/2").with(
175 serve("/key/keyvalues", "/key/keyvalues/2").with(
177 serve("/instance/keyvalues", "/instance/keyvalues/2").with(
H A DInvalidScopeBindingTest.java34 serve("/*").with(MyNonSingletonServlet.class);
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/
H A DWebSocketResponseHandlerTest.java121 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session);
128 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session);
140 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session);
149 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session);
156 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session);
164 Response handshakeResponse = this.nanoWebSocketServer.serve(this.session);
/external/autotest/client/site_tests/platform_AccurateTime/
H A Dplatform_AccurateTime.py18 def serve(self): member in class:platform_AccurateTime
36 self.serve()
/external/autotest/site_utils/lxc/
H A Dunittest_http.py22 """Starts an http server on the localhost, to serve the given file.
25 server to serve that file. Intended for use with unit tests that require
28 @param file_path: The path of the file to serve.
42 # Start the http daemon in the tmpdir to serve the file.
43 def serve(): function in function:serve_locally
47 p = multiprocessing.Process(target=serve)
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
H A DShutdownTest.java57 public Response serve(IHTTPSession session) { method in class:ShutdownTest.TestServer
H A DPutStreamIntegrationTest.java59 public Response serve(IHTTPSession session) { method in class:PutStreamIntegrationTest.TestServer
78 public Response serve(String uri, Method method, Map<String, String> headers, Map<String, String> parms, Map<String, String> files) { method in class:PutStreamIntegrationTest.TestServer
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/
H A DHelloServer.java60 public Response serve(IHTTPSession session) { method in class:HelloServer
/external/guice/extensions/servlet/src/com/google/inject/servlet/
H A DServletModule.java75 * <b>serve("*.html").with(MyServlet.class)</b>
85 * <b>serve("/my/*").with(MyServlet.class)</b>
108 * serve("*.html").with(MyServlet.class);
109 * serve("/my/*").with(MyServlet.class);
110 * serve("*.jpg").with(new MyServlet());
120 * serve("*.html").with(MyServlet.class);
125 * serve("/my/*").with(MyServlet.class);
132 * serve(<b>"*.html", "/my/*"</b>).with(MyServlet.class);
167 * serve("/*").with(MyServlet.class, <b>params</b>)
270 protected final ServletKeyBindingBuilder serve(Strin method in class:ServletModule
[all...]
H A DServletDefinition.java178 final boolean serve = shouldServe(path);
181 if (serve) {
186 return serve;
H A DServletsModuleBuilder.java47 public ServletModule.ServletKeyBindingBuilder serve(List<String> urlPatterns) { method in class:ServletsModuleBuilder
/external/python/cpython2/Doc/
H A Dmake.bat23 if "%1" EQU "serve" goto serve
59 echo. clean, check, serve, htmlview
119 :serve label
120 cmd /C %PYTHON% ..\Tools\scripts\serve.py %BUILDDIR%\html
H A DMakefile17 suspicious coverage doctest pydoc-topics htmlview clean dist check serve \
37 @echo " serve to serve the documentation on the localhost (8000)"
153 serve:
154 ../Tools/scripts/serve.py build/html
/external/python/cpython3/Doc/
H A Dmake.bat37 if "%1" EQU "serve" goto serve
74 echo. clean, check, serve, htmlview
125 :serve label
126 cmd /C %PYTHON% ..\Tools\scripts\serve.py %BUILDDIR%\html
H A DMakefile17 suspicious coverage doctest pydoc-topics htmlview clean dist check serve \
38 @echo " serve to serve the documentation on the localhost (8000)"
158 serve:
159 ../Tools/scripts/serve.py build/html
/external/nanohttpd/
H A DREADME.md61 public Response serve(IHTTPSession session) {
132 * Runtime extension support (extensions that serve particular MIME types) - example extension that serves Markdown formatted files. Simply including an extension JAR in the webserver classpath is enough for the extension to be loaded.
189 Here you write your own subclass of *fi.iki.elonen.NanoHTTPD* to configure and to serve the requests.
201 Here you write your own subclass of *fi.iki.elonen.NanoWebSocketServer* to configure and to serve the websocket requests. A small standard echo example is included as *fi.iki.elonen.samples.echo.DebugWebSocketServer*. You can use it as a starting point to implement your own services.
248 Before you start the server to make Nanohttpd serve https connections, when you make sure 'keystore.jks' is in your classpath .
/external/nanohttpd/src/site/markdown/
H A Dindex.md61 public Response serve(IHTTPSession session) {
132 * Runtime extension support (extensions that serve particular MIME types) - example extension that serves Markdown formatted files. Simply including an extension JAR in the webserver classpath is enough for the extension to be loaded.
185 Here you write your own subclass of *fi.iki.elonen.NanoHTTPD* to configure and to serve the requests.
197 Here you write your own subclass of *fi.iki.elonen.NanoWebSocketServer* to configure and to serve the websocket requests. A small standard echo example is included as *fi.iki.elonen.samples.echo.DebugWebSocketServer*. You can use it as a starting point to implement your own services.
244 Before you start the server to make Nanohttpd serve https connections, when you make sure 'keystore.jks' is in your classpath .

Completed in 377 milliseconds

12