Directory groovy/modules/xmlrpc/src/main/groovy/net/http/

Directory Created:
2005-11-28 19:19
Total Files:
1
Deleted Files:
0
Lines of Code:
189

Browse with ViewVC

[root]/groovy/modules/xmlrpc/src/main/groovy/net/http

Lines of Code

groovy/modules/xmlrpc/src/main/groovy/net/http/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
tug 2 (100.0%) 194 (100.0%) 97.0

Most Recent Commits

tug 2005-11-29 17:38

Force an OK result in the simpel HTTP server



We need to make this nicer in later versions.

27 lines of code changed in:

  • groovy/modules/xmlrpc/src/main/groovy/net/http: HTTPServer.java (+27 -5)
tug 2005-11-28 19:19

An experimental simple HTTP server:



s = new HTTPServer()

s.get = {inn, out, uri, version -> out << "my page"}

s.startServer(new ServerSocket(1234))



You can set closures fro get, put, head and post.

167 lines of code changed in:

  • groovy/modules/xmlrpc/src/main/groovy/net/http: HTTPServer.java (new 167)
Generated by StatSVN 0.3.2-SNAPSHOT