public abstract class CefMessageRouterHandlerAdapter extends CefNativeAdapter implements CefMessageRouterHandler
| Constructor and Description |
|---|
CefMessageRouterHandlerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onQuery(CefBrowser browser,
CefFrame frame,
long queryId,
java.lang.String request,
boolean persistent,
CefQueryCallback callback)
Called when the browser receives a JavaScript query.
|
void |
onQueryCanceled(CefBrowser browser,
CefFrame frame,
long queryId)
Called when a pending JavaScript query is canceled.
|
getNativeRef, setNativeRefclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNativeRef, setNativeRefpublic boolean onQuery(CefBrowser browser, CefFrame frame, long queryId, java.lang.String request, boolean persistent, CefQueryCallback callback)
CefMessageRouterHandleronQuery in interface CefMessageRouterHandlerbrowser - The corresponding browser.frame - The frame generating the event. Instance only valid within the scope of this
method.queryId - The unique ID for the query.persistent - True if the query is persistent.callback - Object used to continue or cancel the query asynchronously.public void onQueryCanceled(CefBrowser browser, CefFrame frame, long queryId)
CefMessageRouterHandleronQueryCanceled in interface CefMessageRouterHandlerbrowser - The corresponding browser.frame - The frame generating the event. Instance only valid within the scope of this
method.queryId - The unique ID for the query.