Package org.eclipse.jetty.http
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 org.eclipse.jetty.http.ComplianceViolation.Listener
NOOP
-
Constructor Summary
ConstructorDescriptionDeprecated.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 TypeMethodDescriptionvoid
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.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.void
Deprecated, for removal: This API element is subject to removal in a future version.The compliance violation event.void
replaceCookieList
(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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.http.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.Listener
The compliance violation event.- Specified by:
onComplianceViolation
in interfaceComplianceViolation.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 interfaceCookieParser.Handler
-
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