Question: Java Program to Design URL router/Design a middleware router READ THE BELOW INSTRUCTION Note: The code should be a working solution. Do not provide half
Java Program to Design URL router/Design a middleware router
READ THE BELOW INSTRUCTION
Note: The code should be a working solution. Do not provide half a solution. Please make sure the entire code is visible in the post and not just a part of the code. The code is executing without any compiler errors. Include the screenshot of the execution. Otherwise, I will downvote because this is the third time I am asking the same question and getting only half solution which is not acceptable.
1] Write method logic for two functions
withRoute(String path, String result) return void
route(String path) return result
2] Match wildcard (*) in it. Useregex
3] Use the Design principles and design patterns in the code
4] Write Executable code with Junit Tests and Console Tests.
5] How can we use the code for concurrent requests/Environment?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
