Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mustafabinguldev/sockethttpresponse

This project is a very lightweight webserver
https://github.com/mustafabinguldev/sockethttpresponse

java socket-programming web-socket webserver

Last synced: about 1 month ago
JSON representation

This project is a very lightweight webserver

Awesome Lists containing this project

README

        

This project is a very lightweight webserver

Example:
```

//Port and Max Thread(pool)
WebServer webServer = new WebServer(8080, 4);
webServer.addListener(responseManager -> {

responseManager.addHttpData("

Hello World!

");
responseManager.addHttpData("

Colored Txt>");
responseManager.addHttpData("

This project is a very lightweight webserver

");
responseManager.addHttpData("

Your ip adress:"+responseManager.getRequestAdress()+">");

// responseManager.setCancelled(true);
});

webServer.start();
```

```

jitpack.io
https://jitpack.io


com.github.BingulHan
SocketHttpResponse
0.1

```

Soon to be added (Coming soon):
- Sending different pages with root
- Sending img etc files
- Send Javascript
- Restful service publishing
- Send JSON
- Mini IOC Container

I am doing this project to better understand the working logic of other frameworks and to develop more in this field by engineering from scratch.