Question: A proxy server acts as an intermediary between clients (perhaps many at the same time) and a server. That is, it takes any requests it
A "proxy server" acts as an intermediary between clients (perhaps many at the same time) and a server. That is, it takes any requests it receives from clients and forward them to the real server and, similarly, forward any responses it receives from the server to the real clients. With this in mind, complete the following HTTPProxyServer class: import java.io.*; import java.net.*; public HTTPProxyServer implements tunable {private ServerSocket; public HTTPProxyServer (String actualHost, int actualPort, int intermadiaryPort) {} public void run() {}}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
