Class ResponseUtil
java.lang.Object
org.apache.tomcat.util.http.ResponseUtil
Utility methods for HTTP response handling.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddVaryFieldName(HttpServletResponse response, String name) Add a Vary header field name to the given response.static voidaddVaryFieldName(MimeHeaders headers, String name) Add a Vary header field name to the given headers.
-
Method Details
-
addVaryFieldName
Add a Vary header field name to the given headers.- Parameters:
headers- The headersname- The field name
-
addVaryFieldName
Add a Vary header field name to the given response.- Parameters:
response- The responsename- The field name
-