public interface CefResourceHandler extends CefNative
| 限定符和类型 | 方法和说明 |
|---|---|
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, setNativeRefboolean processRequest(CefRequest request, CefCallback callback)
void getResponseHeaders(CefResponse response, IntRef response_length, StringRef redirectUrl)
boolean readResponse(byte[] data_out,
int bytes_to_read,
IntRef bytes_read,
CefCallback callback)
boolean canGetCookie(CefCookie cookie)
boolean canSetCookie(CefCookie cookie)
void cancel()
Copyright © 2017. All rights reserved.