Class SimpleHttpFileServer
java.lang.Object
org.gradle.plugins.javascript.envjs.http.simple.SimpleHttpFileServer
- All Implemented Interfaces:
HttpFileServer
-
Constructor Summary
ConstructorDescriptionSimpleHttpFileServer
(File contentRoot, int port, org.gradle.internal.concurrent.Stoppable stopper) -
Method Summary
-
Constructor Details
-
SimpleHttpFileServer
public SimpleHttpFileServer(File contentRoot, int port, org.gradle.internal.concurrent.Stoppable stopper)
-
-
Method Details
-
getPort
public int getPort()- Specified by:
getPort
in interfaceHttpFileServer
-
getResourceUrl
- Specified by:
getResourceUrl
in interfaceHttpFileServer
-
getContentRoot
- Specified by:
getContentRoot
in interfaceHttpFileServer
-
stop
public void stop()- Specified by:
stop
in interfaceHttpFileServer
-