Hi,

the following code snippet can be used as inspiration:

https://github.com/mrhaki/groovyrun-gradle-plugin/blob/master/src/main/groovy/com/mrhaki/gradle/groovyrun/SimpleHttpServer.groovy

It has no 3rd party dependencies and uses the Groovy socket support.

Kind regards, Hubert Klein Ikkink

> On 11 Dec 2016, at 11:33, Daniel Sun <realblue...@hotmail.com> wrote:
> 
> Hi Sébastien,
> 
>     The SimpleHTTPServer will be implemented with NO 3rd part library, so
> it will not impact existing production systems. In addition, it is
> recommended to be used to provide http service for convenience(such as
> testing WebRTC app). If we want to deploy our static web site, the
> SimpleHTTPServer is not recommended to be used in production :)
> 
> Cheers,
> Daniel.Sun
> 
> 
> 
> --
> View this message in context: 
> http://groovy.329449.n5.nabble.com/About-SimpleHTTPServer-tp5737191p5737205.html
> Sent from the Groovy Dev mailing list archive at Nabble.com.

Reply via email to