Package com.teamdev.jxbrowser.callback
Interface SyncCallback<P,R>
- Type Parameters:
P
- the type of callback parametersR
- the type of callback response
- All Superinterfaces:
Callback
- All Known Subinterfaces:
AllowPluginCallback
,BeforeSendUploadDataCallback
,BeforeStartTransactionCallback
,BeforeUrlRequestCallback
,BrowserSyncCallback<P,
,R> CanAccessFileCallback
,CanGetCookiesCallback
,CanSetCookieCallback
,CreatePopupCallback
,EnterMouseCallback
,ExitMouseCallback
,InjectCssCallback
,InjectJsCallback
,InterceptUrlRequestCallback
,com.teamdev.jxbrowser.media.callback.MediaSyncCallback<P,
,R> MoveMouseCallback
,MoveMouseWheelCallback
,NavigationSyncCallback<P,
,R> NetworkSyncCallback<P,
,R> OpenPopupCallback
,PluginsSyncCallback<P,
,R> PressKeyCallback
,PressMouseCallback
,ReceiveHeadersCallback
,ReleaseKeyCallback
,ReleaseMouseCallback
,SelectMediaDeviceCallback
,ShowHttpErrorPageCallback
,ShowNetErrorPageCallback
,StartNavigationCallback
,TypeKeyCallback
,VerifyCertificateCallback
- All Known Implementing Classes:
DefaultOpenPopupCallback
,DefaultOpenPopupCallback
,DefaultOpenPopupCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A common interface that all synchronous callbacks must extend.
-
Method Summary
-
Method Details
-
on
Invoked when the callback needs a response of typeR
that may be determined based on the provided callback parameters.- Parameters:
params
- the object that represents the callback parameters- Returns:
- an object of type
R
that represents the callback response that should be determined based on the provided parameters - Implementation Note:
- It is strongly recommended that implementers of this method do not return
null
. If this method returnsnull
, then the code that calls this method decides how to handle this situation
-