Class WebServer

java.lang.Object
fr.lteconsulting.pomexplorer.webserver.WebServer

public class WebServer
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    WebServer​(XWebServer xWebServer)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getFileUrl​(java.lang.String fileName)  
    java.io.Writer pushFile​(java.lang.String fileName)
    Stores a file to make it servable by the web server
    void start​(int port)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • pushFile

      public java.io.Writer pushFile​(java.lang.String fileName)
      Stores a file to make it servable by the web server
      Parameters:
      fileName - the file name
      Returns:
      The URL to get the file
    • getFileUrl

      public java.lang.String getFileUrl​(java.lang.String fileName)
    • start

      public void start​(int port)