No description
  • Java 97.8%
  • HTML 0.9%
  • Shell 0.7%
  • Dockerfile 0.6%
Find a file
2022-12-05 10:38:43 -06:00
src Update DirectoryListing.java 2021-09-09 11:13:16 -05:00
.drone.yml added .drone.yml 2022-12-02 11:28:17 -06:00
.gitignore Initial version of a sample app to demo CI/CD with test intelligence in Harness next gen architecture 2021-03-26 16:14:22 -07:00
.ticonfig.yaml Create .ticonfig.yaml 2021-04-21 11:21:58 -07:00
config.ini update test intelligence config 2021-03-26 20:43:11 -07:00
Dockerfile dockerize 2021-03-26 22:50:40 -07:00
Dockerfile.build dockerize 2021-03-26 22:50:40 -07:00
mvn.sh change1 2021-04-14 13:26:27 +05:30
pom.xml Update pom.xml 2021-11-10 14:07:16 -08:00
README.md Update README.md 2022-12-05 10:25:36 -06:00

JHTTP

JHTTP is a simple HTTP server written in the Java 8.

Requirements

  • Java 8 SDK
  • Maven

Building

mvn clean package  

It creates a self-contained, executable JAR in the target directory.

Usage

usage: java -jar jhttp*.jar [-h] [-p <PORT>] [-r <DIR>] [-t <THREADS_NO>]
Starts a simple HTTP server
-h,--help                   display help
-p,--port <PORT>            port to listen (default: 8888 )
-r,--root <DIR>             server root directory (default: '.')
-t,--threads <THREADS_NO>   thread pool size (default: 10)

Demo