Class ApiPlugin

    • Field Detail

      • PORT

        public static final IntegerConfigValue PORT
        Default port for Pippo Micro Web Server (re-using the default port value)
      • log

        protected final org.slf4j.Logger log
    • Constructor Detail

      • ApiPlugin

        public ApiPlugin()
    • Method Detail

      • startPippo

        protected void startPippo​(ro.pippo.core.Pippo pippo)
        Starts the Pippo server. This method can be overridden.
        Parameters:
        pippo - the instance for Pippo web server
      • getPort

        public final int getPort()
        Returns the port for web server that serves the endpoints
        Returns:
        actual port
      • isReady

        public final boolean isReady()
        Returns if the web server is ready
        Returns:
        true if server is ready, otherwise false