A simple HTTP server implementation in Java.
- Handles basic HTTP requests and responses
- Supports GET and POST methods
- Multi-threaded request handling
- Configurable port settings
- Java 17 or later
Clone the repository:
git clone https://github.com/IsmailTekin05/HttpServer.git
cd HttpServerCompile and run the server:
javac -d out src/com/ismailtekin/httpserver/*.java
java -cp out com.ismailtekin.httpserver.MainBy default, the server runs on port 8080. You can modify the port in the Main.java file.
Feel free to fork the repository and submit pull requests with improvements or new features.
This project is licensed under the MIT License. See LICENSE for details.
Created by Ismail Tekin. Feel free to reach out for questions or contributions!