Class MicroPiranha

  • All Implemented Interfaces:
    Piranha, Runnable

    public class MicroPiranha
    extends Object
    implements Piranha, Runnable
    The micro version of Piranha.
    Author:
    Manfred Riem (mriem@manorrock.com)
    • Constructor Detail

      • MicroPiranha

        public MicroPiranha()
    • Method Detail

      • configure

        public WebApplication configure​(String[] arguments)
        Configure.
        Parameters:
        arguments - the arguments.
        Returns:
        the web application.
      • getHttpServer

        public HttpServer getHttpServer()
        Get the HTTP server.
        Returns:
        the HTTP server.
      • getVersion

        public String getVersion()
        Get the version.
        Specified by:
        getVersion in interface Piranha
        Returns:
        the version.
      • getWebApplication

        public WebApplication getWebApplication()
        Get the web application.
        Returns:
        the web application.
      • main

        public static void main​(String[] arguments)
        Main method.
        Parameters:
        arguments - the arguments.
      • run

        public void run()
        Start method.
        Specified by:
        run in interface Runnable
      • stop

        public void stop()
        Stop method.