Class CookieParser

java.lang.Object
cloud.piranha.core.impl.CookieParser

public class CookieParser extends Object
The Cookie parser
  • Method Details

    • parse

      public static jakarta.servlet.http.Cookie[] parse(String cookieValues)
      Parse the Cookie header
      Parameters:
      cookieValues - the Cookie header, without "Cookie:"
      Returns:
      the Cookie array
      Throws:
      NullPointerException - if cookieValues is null
      IllegalArgumentException - if some cookie contains a illegal character