Class RedirectHttpHandler

    • Constructor Summary

      Constructors 
      Constructor Description
      RedirectHttpHandler​(java.lang.String contextPath, java.lang.String to)  
    • 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

      • RedirectHttpHandler

        public RedirectHttpHandler​(java.lang.String contextPath,
                                   java.lang.String to)
    • Method Detail

      • getContextPath

        public java.lang.String getContextPath()
      • handle

        public void handle​(com.sun.net.httpserver.HttpExchange httpExchange)
                    throws java.io.IOException
        Throws:
        java.io.IOException