Package spark.servlet

Interface SparkApplication


public interface SparkApplication
The application entry point when Spark is run in a servlet context.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Invoked from the SparkFilter.
    void
    Invoked from the SparkFilter.
  • Method Details

    • init

      void init()
      Invoked from the SparkFilter. Add routes here.
    • destroy

      default void destroy()
      Invoked from the SparkFilter.