Class Index

All Implemented Interfaces:
spark.Route

public class Index extends GetRoute
Redirects the user to the main page.
  • Constructor Details

    • Index

      public Index(App app)
  • Method Details

    • handleGet

      public Object handleGet(spark.Request request, spark.Response response)
      Redirects the user to the main page.
      Specified by:
      handleGet in class GetRoute
      Parameters:
      request - The HTTP request.
      response - The HTTP response.
      Returns:
      A message indicating that the user is being redirected.