Class StaticFileHttpHandler

    • Constructor Summary

      Constructors 
      Constructor Description
      StaticFileHttpHandler​(java.lang.String contextPath, java.lang.String rootDir)  
      StaticFileHttpHandler​(java.lang.String contextPath, java.lang.String rootDir, boolean singlePageApp)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContextPath()  
      void handle​(com.sun.net.httpserver.HttpExchange httpExchange)  
      • Methods inherited from class java.lang.Object

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

      • StaticFileHttpHandler

        public StaticFileHttpHandler​(java.lang.String contextPath,
                                     java.lang.String rootDir)
      • StaticFileHttpHandler

        public StaticFileHttpHandler​(java.lang.String contextPath,
                                     java.lang.String rootDir,
                                     boolean singlePageApp)
    • Method Detail

      • getContextPath

        public java.lang.String getContextPath()
      • handle

        public void handle​(com.sun.net.httpserver.HttpExchange httpExchange)