Package ora4mas.nopl

Class WebInterface


  • public class WebInterface
    extends java.lang.Object
    Web Interface for ORA4MAS
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String dpath  
      (package private) com.sun.net.httpserver.HttpServer httpServer  
      (package private) int httpServerPort  
      (package private) java.lang.String httpServerURL  
      private byte[] lastData  
      private java.lang.String lastDot  
      protected java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> oePages  
      (package private) com.sun.net.httpserver.HttpContext osContext  
      (package private) static WebInterface singleton  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private WebInterface()  
    • Method Summary

      Modifier and Type Method Description
      protected static java.lang.String fixAgName​(java.lang.String ag)  
      static WebInterface get()  
      private static java.lang.String getAgNameFromPath​(java.lang.String query)  
      static java.lang.String getDotPath()
      Deprecated.
      java.lang.String getURL()  
      static boolean isRunning()  
      java.lang.String registerOEBrowserView​(java.lang.String oeId, java.lang.String pathSpec, java.lang.String id, OrgArt orgArt)  
      private void registerOEListBrowserView()  
      java.lang.String registerOSBrowserView​(java.lang.String oeId, java.lang.String osId, java.lang.String osSpec)  
      (package private) void registerRootBrowserView()  
      void removeOE​(java.lang.String oeId, java.lang.String id)  
      private void startHttpServer()  
      • Methods inherited from class java.lang.Object

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

      • httpServer

        com.sun.net.httpserver.HttpServer httpServer
      • httpServerPort

        int httpServerPort
      • httpServerURL

        java.lang.String httpServerURL
      • oePages

        protected java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> oePages
      • lastDot

        private java.lang.String lastDot
      • lastData

        private byte[] lastData
      • dpath

        private static java.lang.String dpath
      • osContext

        com.sun.net.httpserver.HttpContext osContext
    • Constructor Detail

      • WebInterface

        private WebInterface()
    • Method Detail

      • isRunning

        public static boolean isRunning()
      • getURL

        public java.lang.String getURL()
      • startHttpServer

        private void startHttpServer()
      • registerRootBrowserView

        void registerRootBrowserView()
      • getAgNameFromPath

        private static java.lang.String getAgNameFromPath​(java.lang.String query)
      • registerOEListBrowserView

        private void registerOEListBrowserView()
      • registerOEBrowserView

        public java.lang.String registerOEBrowserView​(java.lang.String oeId,
                                                      java.lang.String pathSpec,
                                                      java.lang.String id,
                                                      OrgArt orgArt)
      • removeOE

        public void removeOE​(java.lang.String oeId,
                             java.lang.String id)
      • getDotPath

        @Deprecated
        public static java.lang.String getDotPath()
                                           throws java.lang.Exception
        Deprecated.
        Throws:
        java.lang.Exception
      • registerOSBrowserView

        public java.lang.String registerOSBrowserView​(java.lang.String oeId,
                                                      java.lang.String osId,
                                                      java.lang.String osSpec)
      • fixAgName

        protected static java.lang.String fixAgName​(java.lang.String ag)