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