public class SimpleHttpFileServer extends Object implements HttpFileServer
Constructor and Description |
---|
SimpleHttpFileServer(File contentRoot,
int port,
org.gradle.internal.concurrent.Stoppable stopper) |
public SimpleHttpFileServer(File contentRoot, int port, org.gradle.internal.concurrent.Stoppable stopper)
public int getPort()
getPort
in interface HttpFileServer
public String getResourceUrl(String path)
getResourceUrl
in interface HttpFileServer
public File getContentRoot()
getContentRoot
in interface HttpFileServer
public void stop()
stop
in interface HttpFileServer