|
Groovy example source code file (Reflections.groovy)
The Groovy Reflections.groovy source code
/**
* Echoes back whatever is thrown at it (with a <br> at end for browsers) ...
* @author <a href="mailto:jeremy.rayner@gmail.com">Jeremy Rayner
*
* invoke using
* groovy -l 80 Reflections.groovy
*
* (where 80 is the port to listen for requests upon)
*/
// echo, echo, echo...
println "${line} <br>"
//assume no input means we've finished...
if (line == "") {
// clean up gracefully, closing sockets etc
return "success"
}
Other Groovy examples (source code examples)Here is a short list of links related to this Groovy Reflections.groovy source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.