DescriptionSince the copyResponseToServlet does more than just copy the response into servlet(it overrides caching headers), renaming the function to copyToServletResponseAndOverrideCacheHeaders to make this clear.
For example, with this function, a response with Cache-Control=private,max-age=100 is transformed to
Cache-Control=no-store.
We also add another function called copyToServletResponse which does not override cache headers, but simply copies the response into the servlet response instance.
Patch Set 1 #Patch Set 2 : Changing slightly #Patch Set 3 : Removing test from this CL #Patch Set 4 : Changing function names in tests #
Total comments: 2
Patch Set 5 : Addressing comments #
Total comments: 3
Patch Set 6 : Addressing comments #Patch Set 7 : Adding new test in ServletUtilTest #Patch Set 8 : Fix import order #
Total comments: 2
Patch Set 9 : Changing tests slightly #Patch Set 10 : Addressing comments #
Total comments: 11
Patch Set 11 : Addressing comments #Patch Set 12 : Addressing comments #
Total comments: 2
Patch Set 13 : #
Total comments: 1
MessagesTotal messages: 16
|
||||||||||||||||||||||||||||||||||||||||||||||