Interface CanSetCookieCallback
- All Superinterfaces:
Callback
,NetworkCallback
,NetworkSyncCallback<CanSetCookieCallback.Params,
,CanSetCookieCallback.Response> SyncCallback<CanSetCookieCallback.Params,
CanSetCookieCallback.Response>
public interface CanSetCookieCallback
extends NetworkSyncCallback<CanSetCookieCallback.Params,CanSetCookieCallback.Response>
The callback is invoked to check if the given cookie can be set or not.
Use the CanSetCookieCallback.Response.can()
method to allow the engine to set the cookie.
Use the CanSetCookieCallback.Response.cannot()
} method to disallow the engine to set the cookie.
If the callback throws an exception, the CanSetCookieCallback.Response.can()
method will be invoked.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The parameters of theCanSetCookieCallback
.static interface
A response forCanSetCookieCallback
. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.SyncCallback
on