public abstract class CefCookieAccessFilterAdapter extends java.lang.Object implements CefCookieAccessFilter
| Constructor and Description |
|---|
CefCookieAccessFilterAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSaveCookie(CefBrowser browser,
CefFrame frame,
CefRequest request,
CefResponse response,
CefCookie cookie)
Called on the IO thread after a resource response is received.
|
boolean |
canSendCookie(CefBrowser browser,
CefFrame frame,
CefRequest request,
CefCookie cookie)
Called on the IO thread before a resource request is sent.
|
public boolean canSaveCookie(CefBrowser browser, CefFrame frame, CefRequest request, CefResponse response, CefCookie cookie)
CefCookieAccessFiltercanSaveCookie in interface CefCookieAccessFilterbrowser - The corresponding browser.frame - The frame generating the event. Instance only valid within the scope of this
method.request - The request itself. Cannot be modified in this callback. Instance only valid
within the scope of this method.response - The request response. Cannot be modified in this callback. Instance only
valid within the scope of this method.cookie - The cookie that will be sent with the request. Cannot be modified in this
callback. Instance only valid within the scope of this method.public boolean canSendCookie(CefBrowser browser, CefFrame frame, CefRequest request, CefCookie cookie)
CefCookieAccessFiltercanSendCookie in interface CefCookieAccessFilterbrowser - The corresponding browser.frame - The frame generating the event. Instance only valid within the scope of this
method.request - The request itself. Cannot be modified in this callback. Instance only valid
within the scope of this method.cookie - The cookie that will be sent with the request. Cannot be modified in this
callback. Instance only valid within the scope of this method.