Package org.cef.browser
Class CefMessageRouter.CefMessageRouterConfig
- java.lang.Object
-
- org.cef.browser.CefMessageRouter.CefMessageRouterConfig
-
- Enclosing class:
- CefMessageRouter
public static class CefMessageRouter.CefMessageRouterConfig extends java.lang.Object
Used to configure the query router. If using multiple router pairs make sure to choose values that do not conflict.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
jsCancelFunction
Name of the JavaScript function that will be added to the 'window' object for canceling a pending query.java.lang.String
jsQueryFunction
Name of the JavaScript function that will be added to the 'window' object for sending a query.
-
Constructor Summary
Constructors Constructor Description CefMessageRouterConfig()
CefMessageRouterConfig(java.lang.String queryFunction, java.lang.String cancelFunction)
-
-
-
Field Detail
-
jsQueryFunction
public java.lang.String jsQueryFunction
Name of the JavaScript function that will be added to the 'window' object for sending a query. The default value is "cefQuery".
-
jsCancelFunction
public java.lang.String jsCancelFunction
Name of the JavaScript function that will be added to the 'window' object for canceling a pending query. The default value is "cefQueryCancel".
-
-