Class SetCookieSupport

java.lang.Object
org.forgerock.caf.http.SetCookieSupport

public class SetCookieSupport extends Object
Support class for generating Set-Cookie header values.
Since:
12.0.0
  • Constructor Details

    • SetCookieSupport

      public SetCookieSupport()
  • Method Details

    • generateHeader

      public String generateHeader(javax.servlet.http.Cookie cookie)
      Method added to support transforming javax.servlet.http.Cookie instances into the String format needed by the AdviceContext.
      Parameters:
      cookie - The javax.servlet.http.Cookie instance whose String representation is desired
      Returns:
      the String representation of the cookie parameter