Multithreaded HTTP server in Java
To run the server with specified number of connections and threads:
./gradlew run --args='port_number number_of_threads number_of_connections'
To run the server with specified number of threads and unlimited connections:
./gradlew run --args='port_number number_of_threads number_of_connections'
Default number of threads (default threads = 4) and unlimited connections:
./gradlew run --args='port_number'