/Web-Proxy-Servers

Multi-Threaded Web & Proxy Server

Primary LanguageJava

Web-Proxy-Servers

Multi-Threaded Web & Proxy Server

Project consists of 2 servers;

Web Server
-Server program takes single argument which specifies the port number.
-Server should work when connected via a web browser (such asGoogle Chrome).
For example, if the server port number is 8080, http://localhost:8080/500 would be a valid URL if the server runs in the same host.
-Server returns an HTML document according to the requested URI. The size of the document is determined by the requested URI (any size between 100 and 20,000 bytes).
-Server sends back an HTTP response line with 400 status code that indicates an error if the requested
URI is not a number, or is less than 100, or is greater than 20,000.
As an example, the following document is 100 bytes long:
image