public interface CefSchemeHandlerFactory
| Modifier and Type | Method and Description |
|---|---|
CefResourceHandler |
create(CefBrowser browser,
CefFrame frame,
java.lang.String schemeName,
CefRequest request)
Return a new resource handler instance to handle the request or NULL to allow default
handling of the request.
|
CefResourceHandler create(CefBrowser browser, CefFrame frame, java.lang.String schemeName, CefRequest request)
browser - The corresponding browser, or NULL if the request did not originate from a
browser window (for example, if the request came from CefURLRequest).frame - The frame generating the event, or NULL if the request did not originate from a
browser window (for example, if the request came from CefURLRequest). Instance only
valid within the scope of this method.schemeName - Name of the scheme being created.request - The request itself. Cannot be modified in this callback. Instance only valid
within the scope of this method.