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.
Cookie parser
-
Field Summary
Fields inherited from interface ComplianceViolation.Listener
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.CookieCache(CookieCompliance compliance) Deprecated.CookieCache(CookieCompliance compliance, ComplianceViolation.Listener complianceListener) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCookie(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.getCookies(HttpFields headers) Deprecated, for removal: This API element is subject to removal in a future version.getCookies(HttpFields headers, ComplianceViolation.Listener complianceViolationListener) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.The compliance violation event.voidreplaceCookieList(List<HttpCookie> cookies) Deprecated, for removal: This API element is subject to removal in a future version.Replace the cookie list withMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ComplianceViolation.Listener
initialize, onComplianceViolation, onRequestBegin, onRequestEnd
-
Constructor Details
-
CookieCache
Deprecated. -
CookieCache
Deprecated. -
CookieCache
@Deprecated(forRemoval=true) public CookieCache(CookieCompliance compliance, ComplianceViolation.Listener complianceListener) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
onComplianceViolation
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ComplianceViolation.ListenerThe compliance violation event.- Specified by:
onComplianceViolationin interfaceComplianceViolation.Listener- Parameters:
event- the compliance violation event
-
addCookie
-
getCookies
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
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
-
org.eclipse.jetty.server.CookieCache