Package org.gradle.plugins.javascript.envjs.http.simple

## Class SimpleHttpFileServer

- java.lang.Object
- - org.gradle.plugins.javascript.envjs.http.simple.SimpleHttpFileServer

- All Implemented Interfaces:
    `HttpFileServer`

      public class SimpleHttpFileServer
      extends java.lang.Object
      implements HttpFileServer

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SimpleHttpFileServer​(java.io.File contentRoot, int port, org.gradle.internal.concurrent.Stoppable stopper)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.io.File` | `getContentRoot()` |
    `int` | `getPort()` |
    `java.lang.String` | `getResourceUrl​(java.lang.String path)` |
    `void` | `stop()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SimpleHttpFileServer

          public SimpleHttpFileServer​(java.io.File contentRoot,
                                      int port,
                                      org.gradle.internal.concurrent.Stoppable stopper)

  - ### Method Detail

    - #### getPort

          public int getPort()

      Specified by:
        `getPort` in interface `HttpFileServer`

    - #### getResourceUrl

          public java.lang.String getResourceUrl​(java.lang.String path)

      Specified by:
        `getResourceUrl` in interface `HttpFileServer`

    - #### getContentRoot

          public java.io.File getContentRoot()

      Specified by:
        `getContentRoot` in interface `HttpFileServer`

    - #### stop

          public void stop()

      Specified by:
        `stop` in interface `HttpFileServer`