Package io.undertow.util
Class LegacyCookieSupport
java.lang.Object
io.undertow.util.LegacyCookieSupport
Class that contains static constants and utility methods for legacy Set-Cookie format.
Porting from JBossWeb and Tomcat code.
Note that in general we do not use system properties for configuration, however as these are
legacy options that are not widely used an exception has been made in this case.
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
adjustedCookieVersion
(Cookie cookie) static void
maybeQuote
(StringBuilder buf, String value) Quotes values if required.
-
Method Details
-
maybeQuote
Quotes values if required.- Parameters:
buf
-value
-
-
adjustedCookieVersion
-