A Simple Http Router - From Scratch - in Java
As part of my “No Web Framework, No Annotations” blog project, I am happy to publish an article on building a simple Http Router.
My aim, in this series, is to get to a point where simple web applications should require only the base JRE and no other libraries. There will be some, but go as far as I can.
This application, and the tests, can run in under 6MB memory, and right now creates a jar (with all dependencies) of under 16000 bytes. The code uses functional style of programming wherever feasible.
You can see the article here: https://blog.mandraketech.in/httpserver-series-the-http-router-from-scratch
The unique angle of these articles is that you can see the pull requests for each blog to see the journey that I travelled to get here. Always open to get comments.
If you want to continue to get updates, please subscribe to the newsletter. These articles are also available on the hashnode and dev.to platform