Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java code preferably and template given in the assignment had 3 different .java files. To develop a small web proxy server To cache web pages

Java code preferably and template given in the assignment had 3 different .java files.

image text in transcribed

image text in transcribed To develop a small web proxy server To cache web pages A simple proxy server which only understands simple GET-requests Web proxy server. Receive requests Forward requests to the web server Read responses Return responses to the client Web Proxy server creates the socket to listen for HTTP requests from the client Get host information to contact from the request message Create socket to communicate with web server Regenerate request message and send it to web server Read the HTTP responses from web server Regenerate response message and send it to client Thank you.

Template codes Code is divided into three classes: o ProxyCache.java o HttpRequest.java o HttpResponse.java Web Proxy Server Web Server Web Proxy Server Client

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions