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