Registry / web-framework / spark-core

spark-core

JSON →
library2.9.4javamavenunverified

A micro framework for creating web applications in Kotlin and Java 8 with minimal effort.

<dependency> <groupId>com.sparkjava</groupId> <artifactId>spark-core</artifactId> <version>2.9.4</version> </dependency>
INSTALL
IMPORT
SIG · SPARK-CORE
S
spark-core
web-frameworkjavav2.9.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Spark
spark.Spark

Starts a simple HTTP server with a GET endpoint.

import static spark.Spark.*; public class HelloWorld { public static void main(String[] args) { get("/hello", (req, res) -> "Hello World"); } }
Debug
Known issues
breakingSpark 2.x uses a different API than 1.x; ensure compatibility with your code.
fix
Refer to the migration guide when upgrading from 1.x to 2.x.
affects: >=2.0.0
Upgrade
Version history
2.9.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Resources
spark-core — mvn dependency:get spark-core · libregistry