Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTTPServer

A multi-threaded HTTP server written from scratch in Java — no frameworks, no dependencies.

What it is

Implements a basic HTTP/1.1 server with:

  • Server.java — Accepts connections on a configurable port, spawns a new ClientThread per request, handles graceful shutdown
  • HTTPRequest.java — Parses raw HTTP headers, request method, URL, and multipart form data
  • ResponseFactory.java — Routes GET and POST requests, returning proper HTTP status codes (200, 302, 403, 404, 500)
  • Response objects organized by status with clean separation of concerns

Supports static file serving, file upload via POST, and a hardcoded redirect example.

Tech

Java, ServerSocket, multi-threading, raw HTTP protocol parsing

Status

Group project — built to understand what happens beneath web frameworks.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages