This is a very simple Java HTTP-Server, which allows quick file-transfers and directory-listings.
Originally this small server was developed as a part of my Facharbeit zum HTTP-Protokoll but now it contains some more features and is a bit more extensible.
This small HTTP-server currently supports those features:
- Requests
GETPOSTHEAD
- Header
If-Modified-Since
- Other features
- directory-listing
- simple 403 and 404 error-pages
- Java (Version 8 or higher)
Download a current HTTP-Server.jar-file from GitHub Releases or compile the application on your own using Maven.
$ java -jar HTTP-Server.jar --help
##############################################
### a simple Java HTTP-Server ###
### github.com/MarvinMenzerath/HTTP-Server ###
##############################################
--directory (-d) FILE : web-root directory (default: .)
--directory-listing (-l) : allow directory-listing (default: false)
--help (-h) : print usage help (default: true)
--logfile (-f) FILE : path and name of log-file (if wanted)
--no-gui (-g) : do not show gui (if possible) (default: false)
--port (-p) N : port to use (default: 8080)