Interface CanSetCookieCallback

All Superinterfaces:
Callback, NetworkCallback, NetworkSyncCallback<CanSetCookieCallback.Params,CanSetCookieCallback.Response>, SyncCallback<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.