Java HTTPS Connection Forwarding
问题 I'm writing a simple program in Java that receives connection requests from a browser (like Firefox), parses the request for statistical info, then forwards the request to the original destination. The program then reads the response from the destination, parses the response for statistical info, then forwards the response to the browser. The pseudo code of this operation is as follows: // Accept connection from browser and read request 1. Socket browserConnection = serverSocket.accept(); 2.