Class CookieCache

java.lang.Object
org.eclipse.jetty.http.CookieCache
All Implemented Interfaces:
ComplianceViolation.Listener, CookieParser.Handler

@Deprecated(forRemoval=true) public class CookieCache extends Object implements CookieParser.Handler, ComplianceViolation.Listener
Deprecated, for removal: This API element is subject to removal in a future version.
Use org.eclipse.jetty.server.CookieCache
Cookie parser
  • Field Details

    • LOG

      protected static final org.slf4j.Logger LOG
      Deprecated, for removal: This API element is subject to removal in a future version.
    • _rawFields

      protected final List<String> _rawFields
      Deprecated, for removal: This API element is subject to removal in a future version.
    • _cookieList

      protected List<HttpCookie> _cookieList
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

  • Method Details

    • onComplianceViolation

      public void onComplianceViolation(ComplianceViolation.Event event)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ComplianceViolation.Listener
      The compliance violation event.
      Specified by:
      onComplianceViolation in interface ComplianceViolation.Listener
      Parameters:
      event - the compliance violation event
    • addCookie

      public void addCookie(String cookieName, String cookieValue, int cookieVersion, String cookieDomain, String cookiePath, String cookieComment)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      addCookie in interface CookieParser.Handler
    • getCookies

      public List<HttpCookie> getCookies(HttpFields headers)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getCookies

      public List<HttpCookie> getCookies(HttpFields headers, ComplianceViolation.Listener complianceViolationListener)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • replaceCookieList

      public void replaceCookieList(List<HttpCookie> cookies)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Replace the cookie list with
      Parameters:
      cookies - The replacement cookie list, which must be equal to the existing list