Class ServerCommand<T extends Configuration>

Type Parameters:
T - the Configuration subclass which is loaded from the configuration file

public class ServerCommand<T extends Configuration> extends EnvironmentCommand<T>
Runs an application as an HTTP server.
  • Constructor Details

    • ServerCommand

      public ServerCommand(Application<T> application)
    • ServerCommand

      protected ServerCommand(Application<T> application, String name, String description)
      A constructor to allow reuse of the server command as a different name
      Parameters:
      application - the application using this command
      name - the argument name to invoke this command
      description - a summary of what the command does
  • Method Details