Skip to content

dgarg-harness/jhttp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JHTTP

Introduction

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)

test pr

About

Sample Java http Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.2%
  • Other 1.8%