Class UJMPJettyServer


  • public class UJMPJettyServer
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DEFAULTPORT  
      private int port  
      private org.eclipse.jetty.server.Server server  
    • Constructor Summary

      Constructors 
      Constructor Description
      UJMPJettyServer​(int port)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isConnected()  
      static void main​(java.lang.String[] args)  
      void start()  
      void stop()  
      • Methods inherited from class java.lang.Object

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

      • server

        private org.eclipse.jetty.server.Server server
      • port

        private final int port
    • Constructor Detail

      • UJMPJettyServer

        public UJMPJettyServer​(int port)
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • isConnected

        public boolean isConnected()
      • start

        public void start()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • stop

        public void stop()
                  throws java.lang.Exception
        Throws:
        java.lang.Exception