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.
如果指定的cookie可以随请求一起发送,则返回true,否则返回false。 |
boolean |
canSetCookie(CefCookie cookie)
Return true if the specified cookie returned with the response can be set or false otherwise.
如果可以设置随响应返回的指定cookie,则返回true,否则返回false。 |
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, setNativeRef
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNativeRef, setNativeRef
public void cancel()
CefResourceHandler
cancel
在接口中
CefResourceHandler
public boolean canGetCookie(CefCookie cookie)
CefResourceHandler
canGetCookie
在接口中
CefResourceHandler
public boolean canSetCookie(CefCookie cookie)
CefResourceHandler
canSetCookie
在接口中
CefResourceHandler
public void getResponseHeaders(CefResponse response, IntRef response_length, StringRef redirectUrl)
CefResourceHandler
getResponseHeaders
在接口中
CefResourceHandler
public boolean processRequest(CefRequest request, CefCallback callback)
CefResourceHandler
processRequest
在接口中
CefResourceHandler
public boolean readResponse(byte[] data_out, int bytes_to_read, IntRef bytes_read, CefCallback callback)
CefResourceHandler
readResponse
在接口中
CefResourceHandler