Class IsolatedPiranha

java.lang.Object
cloud.piranha.dist.isolated.IsolatedPiranha
All Implemented Interfaces:
Piranha, Runnable

public class IsolatedPiranha extends Object implements Piranha, Runnable
The Isolated of Piranha.
Author:
Manfred Riem ([email protected]), Arjan Tijms
  • Constructor Details

    • IsolatedPiranha

      public IsolatedPiranha()
  • Method Details

    • get

      public static IsolatedPiranha get()
      Returns the instance.
      Returns:
      the instance
    • 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
    • service

      public void service(WebApplicationRequest request, WebApplicationResponse response) throws IOException, jakarta.servlet.ServletException
      Description copied from interface: Piranha
      Service the request and response.
      Specified by:
      service in interface Piranha
      Parameters:
      request - the request.
      response - the response.
      Throws:
      IOException - when an I/O error occurs.
      jakarta.servlet.ServletException - when a Servlet error occurs.