Class ServerPiranha

  • All Implemented Interfaces:
    Piranha, Runnable

    public class ServerPiranha
    extends Object
    implements Piranha, Runnable
    The Servlet container version of Piranha.

    This version of Piranha makes it possible for you to run multiple web applications at the same time.

    It has a shutdown mechanism that allows you to shutdown the server by removing the file that should be created by the startup script.

    Manfred Riem (
    • Constructor Detail

      • ServerPiranha

        public ServerPiranha()
    • Method Detail

      • get

        public static ServerPiranha get()
        Get the instance.
        the instance.
      • main

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

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

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