Skip to content

HTTP Java Server that handles requests and responses for pages with status code 200, 404, or 301.

License

Notifications You must be signed in to change notification settings

JacobAWilkins/HTTP-Web-Server

Repository files navigation

HTTP-Web-Server

Author: Jacob Wilkins

Language: Java

Compilation:

javac HTTPServer.java

Run:

java HTTPServer

Links to test in browser:

200 OK Test:

localhost:6789

404 File Not Found Test:

localhost:6789/aaa

301 Moved Permanently Test 1:

localhost:6789/old_page.html

Should redirect to: localhost:6789/new_page.html

301 Moved Permanently Test 2:

localhost:6789/old_page2.html

Should redirect to: localhost:6789/new_page2.html

About

HTTP Java Server that handles requests and responses for pages with status code 200, 404, or 301.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published