A basic HTTP server written in Java.
Includes cobspec package for passing 8th Light’s Cob Spec HTTP server acceptance test suite.
- JDK 8
- Gradle
- Build the JAR using
gradle buildfrom thejavaServerroot directory - Start the server with
java -jar build/libs/javaServer.jar -p PORT -d PATH/TO/COB_SPEC/PUBLIC- If you don’t specify a port or directory, port defaults to 5000 and directory to the relative path to the Cob Spec
publicdirectory, included atjavaServer/src/main/resources/cobspec/
- If you don’t specify a port or directory, port defaults to 5000 and directory to the relative path to the Cob Spec
- Run the tests using
gradle checkfrom thejavaServerroot directory