Proxy Cache Assignment Level 1
VerifiedAdded on  2019/09/23
|7
|1720
|105
Practical Assignment
AI Summary
This assignment involves implementing a proxy cache in Java. The provided code includes three Java files: ProxyCache.java, HttpRequest.java, and HttpResponse.java. ProxyCache.java handles client connections, forwards requests to the server, and sends responses back to the client. HttpRequest.java parses HTTP requests from clients, extracting information like the method, URL, and headers. HttpResponse.java reads responses from the server, handling headers and the response body. The assignment requires filling in missing code sections within these files to complete the proxy cache functionality. The code is designed to handle GET requests and includes error handling for various scenarios, such as unknown hosts and I/O exceptions. The solution provided on the website offers a complete implementation of the missing code sections, allowing students to understand the concepts and complete their assignment.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
1 out of 7