Class Blazing

java.lang.Object
blazing.Blazing

public class Blazing extends Object
  • Constructor Details

    • Blazing

      public Blazing()
  • Method Details

    • run

      public static void run(Class<?> root_cls)
      A simple way of creating and starting a webserver.
       
       ...
       Blazing.run(WebServer.class);
       ...
       
       
      The webserver class is expected to be marked with the following: @WebServer and have methods marked with @Route
      Parameters:
      root_cls - The class which represent the web server.
      See Also:
    • setThreadCount

      public static void setThreadCount(int count)