Class LegacyCookieSupport

java.lang.Object
io.undertow.util.LegacyCookieSupport

public final class LegacyCookieSupport extends Object
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 Details

    • maybeQuote

      public static void maybeQuote(StringBuilder buf, String value)
      Quotes values if required.
      Parameters:
      buf -
      value -
    • adjustedCookieVersion

      public static int adjustedCookieVersion(Cookie cookie)