Skip to content

A micro web framework for Java. Official community-driven fork.

License

Notifications You must be signed in to change notification settings

sparkjavateam/spark

 
 

Repository files navigation

Spark - micro web framework for Java

website

Spark 2.9.4 is out!

Gradle

implementation 'io.github.sparkjavateam:spark-core:2.9.4'

Maven

<dependency>
    <groupId>io.github.sparkjavateam</groupId>
    <artifactId>spark-core</artifactId>
    <version>2.9.4</version>
</dependency>

Getting started

import static spark.Spark.*;

public class HelloWorld {
    public static void main(String[] arg) {
        get("/hello", (request, response) -> "Hello World!");
    }
}

View at: http://localhost:4567/hello

About

A micro web framework for Java. Official community-driven fork.

Resources

License

Stars

Watchers

Forks

Languages

  • Java 99.6%
  • Other 0.4%