Package org.cef.callback
Interface CefSchemeHandlerFactory
-
public interface CefSchemeHandlerFactory
Class that creates CefResourceHandler instances for handling scheme requests. The methods of this class will always be called on the IO thread.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
create
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.- Parameters:
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.
-
-