public abstract class CefResourceHandlerAdapter extends CefNativeAdapter implements CefResourceHandler
| 构造器和说明 |
|---|
CefResourceHandlerAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cancel()
Request processing has been canceled.
|
boolean |
canGetCookie(CefCookie cookie)
Return true if the specified cookie can be sent with the request or false
otherwise.
|
boolean |
canSetCookie(CefCookie cookie)
Return true if the specified cookie returned with the response can be set
or false otherwise.
|
void |
getResponseHeaders(CefResponse response,
IntRef response_length,
StringRef redirectUrl)
Retrieve response header information.
|
boolean |
processRequest(CefRequest request,
CefCallback callback)
Begin processing the request.
|
boolean |
readResponse(byte[] data_out,
int bytes_to_read,
IntRef bytes_read,
CefCallback callback)
Read response data.
|
getNativeRef, setNativeRefclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNativeRef, setNativeRefpublic boolean processRequest(CefRequest request, CefCallback callback)
CefResourceHandlerprocessRequest 在接口中 CefResourceHandlerpublic void getResponseHeaders(CefResponse response, IntRef response_length, StringRef redirectUrl)
CefResourceHandlergetResponseHeaders 在接口中 CefResourceHandlerpublic boolean readResponse(byte[] data_out,
int bytes_to_read,
IntRef bytes_read,
CefCallback callback)
CefResourceHandlerreadResponse 在接口中 CefResourceHandlerpublic boolean canGetCookie(CefCookie cookie)
CefResourceHandlercanGetCookie 在接口中 CefResourceHandlerpublic boolean canSetCookie(CefCookie cookie)
CefResourceHandlercanSetCookie 在接口中 CefResourceHandlerpublic void cancel()
CefResourceHandlercancel 在接口中 CefResourceHandlerCopyright © 2017. All rights reserved.