Skip to content

IsmailTekin05/HttpServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HttpServer

A simple HTTP server implementation in Java.

Features

  • Handles basic HTTP requests and responses
  • Supports GET and POST methods
  • Multi-threaded request handling
  • Configurable port settings

Requirements

  • Java 17 or later

Installation

Clone the repository:

git clone https://github.com/IsmailTekin05/HttpServer.git
cd HttpServer

Usage

Compile and run the server:

javac -d out src/com/ismailtekin/httpserver/*.java
java -cp out com.ismailtekin.httpserver.Main

Configuration

By default, the server runs on port 8080. You can modify the port in the Main.java file.

Contributing

Feel free to fork the repository and submit pull requests with improvements or new features.

License

This project is licensed under the MIT License. See LICENSE for details.

Contact

Created by Ismail Tekin. Feel free to reach out for questions or contributions!

About

A simple and lightweight multi-threaded HTTP server built in Java. It supports basic request handling for GET and POST methods, configurable port settings, and multi-threaded request processing. Ideal for learning Java networking, HTTP fundamentals, and server-side development. 🚀

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors