Class KawaHttpHandler.StaticFileHandler

  • All Implemented Interfaces:
    com.sun.net.httpserver.HttpHandler
    Enclosing class:
    KawaHttpHandler

    public static class KawaHttpHandler.StaticFileHandler
    extends java.lang.Object
    implements com.sun.net.httpserver.HttpHandler
    • Constructor Summary

      Constructors 
      Constructor Description
      StaticFileHandler​(java.lang.String pathPrefix, java.lang.String defaultUrl)  
    • Method Summary

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

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

      • StaticFileHandler

        public StaticFileHandler​(java.lang.String pathPrefix,
                                 java.lang.String defaultUrl)
    • Method Detail

      • windowClosed

        public void windowClosed()
      • handle

        public void handle​(com.sun.net.httpserver.HttpExchange exchange)
                    throws java.io.IOException
        Specified by:
        handle in interface com.sun.net.httpserver.HttpHandler
        Throws:
        java.io.IOException