United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4917674 : Need to update the ResponseCacheHandler API based on impl. experience

Details
Type:
Bug
Submit Date:
2003-09-05
Status:
Resolved
Updated Date:
2003-09-27
Project Name:
JDK
Resolved Date:
2003-09-27
Component:
core-libs
OS:
generic
Sub-Component:
java.net
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:
5.0 (tiger)

Related Reports
Relates:
Relates:

Sub Tasks

Description
Based on our implementation experience, we feel that the ResponseCacheHandler API needs some adjustments in order to render it more effective. 

First, the current API would lead to caching the response body in the protocol handler upon receiving the response, doing so would have performance problems because the protocol handler has to do extra work before returning the response body to the caller, rather, the caching of response body is better driven by application reading the data and/or keep-alive cache trying to clean up the pipe.

Secondly, one additional parameter is added to ResponseCacheHandler.get() and ResponseCacheHandler.put() to align them more closely to the RFC specification.

                                    

Comments
EVALUATION

Will do before Tiger beta.
###@###.### 2003-09-04
                                     
2003-09-04
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b22


                                     
2004-06-14



Hardware and Software, Engineered to Work Together