public abstract class CefRequest
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
CefRequest.CefUrlRequestFlags |
static class |
CefRequest.ReferrerPolicy
Policy for how the Referrer HTTP header value will be sent during navigation.
(导航期间如何发送Referrer HTTP标头值的策略。)
|
static class |
CefRequest.ResourceType
Resource type for a request.
(请求的资源类型。)
|
static class |
CefRequest.TransitionFlags
Transition qualifiers.
(过渡限定词。)
|
static class |
CefRequest.TransitionType
Transition type for a request.
(请求的转换类型。)
|
限定符和类型 | 方法和说明 |
---|---|
static CefRequest |
create()
Create a new CefRequest object.
(创建一个新的CefRequest对象。)
|
abstract void |
dispose()
Removes the native reference from an unused object.
(从未使用的对象中删除本机引用。)
|
protected void |
finalize() |
abstract java.lang.String |
getFirstPartyForCookies()
Get the URL to the first party for cookies used in combination with CefURLRequest.
(获取与CefURLRequest结合使用的cookie的第一方的URL。)
|
abstract int |
getFlags()
Get the flags used in combination with CefURLRequest.
(获取与CefURLRequest结合使用的标志。)
|
abstract void |
getHeaderMap(java.util.Map<java.lang.String,java.lang.String> headerMap)
Get the header values.
(获取标头值。)
|
abstract long |
getIdentifier()
Returns the globally unique identifier for this request or 0 if not specified.
(返回此请求的全局唯一标识符;如果未指定,则返回0。)
|
abstract java.lang.String |
getMethod()
Get the request method type.
(获取请求方法类型。)
|
abstract CefPostData |
getPostData()
Get the post data.
(获取帖子数据。)
|
abstract CefRequest.ReferrerPolicy |
getReferrerPolicy()
Get the referrer policy.
(获取引荐来源网址政策。)
|
abstract java.lang.String |
getReferrerURL()
Get the referrer URL.
(获取引荐来源网址。)
|
abstract CefRequest.ResourceType |
getResourceType()
Get the resource type for this request.
(获取此请求的资源类型。)
|
abstract CefRequest.TransitionType |
getTransitionType()
Get the transition type for this request.
(获取此请求的转换类型。)
|
abstract java.lang.String |
getURL()
Get the fully qualified URL.
(获取标准URL。)
|
abstract boolean |
isReadOnly()
Returns true if this object is read-only.
(如果此对象是只读的,则返回true。)
|
abstract void |
set(java.lang.String url, java.lang.String method, CefPostData postData, java.util.Map<java.lang.String,java.lang.String> headerMap)
Set all values at one time.
(一次设置所有值。)
|
abstract void |
setFirstPartyForCookies(java.lang.String url)
Set the URL to the first party for cookies used in combination with CefURLRequest.
(将与CefURLRequest结合使用的cookie的URL设置为第一方。)
|
abstract void |
setFlags(int flags)
Set the flags used in combination with CefURLRequest.
(设置与CefURLRequest结合使用的标志。)
|
abstract void |
setHeaderMap(java.util.Map<java.lang.String,java.lang.String> headerMap)
Set the header values.
(设置标题值。)
|
abstract void |
setMethod(java.lang.String method)
Set the request method type.
(设置请求方法类型。)
|
abstract void |
setPostData(CefPostData postData)
Set the post data.
(设置发布数据。)
|
abstract void |
setReferrer(java.lang.String url, CefRequest.ReferrerPolicy policy)
Set the referrer URL and policy.
(设置引荐来源网址和策略。)
|
abstract void |
setURL(java.lang.String url)
Set the fully qualified URL.
(设置标准URL。)
|
java.lang.String |
toString() |
public static final CefRequest create()
public abstract void dispose()
protected void finalize() throws java.lang.Throwable
finalize
在类中
java.lang.Object
java.lang.Throwable
public abstract java.lang.String getFirstPartyForCookies()
public abstract int getFlags()
public abstract void getHeaderMap(java.util.Map<java.lang.String,java.lang.String> headerMap)
public abstract long getIdentifier()
public abstract java.lang.String getMethod()
public abstract CefPostData getPostData()
public abstract CefRequest.ReferrerPolicy getReferrerPolicy()
public abstract java.lang.String getReferrerURL()
public abstract CefRequest.ResourceType getResourceType()
public abstract CefRequest.TransitionType getTransitionType()
public abstract java.lang.String getURL()
public abstract boolean isReadOnly()
public abstract void set(java.lang.String url, java.lang.String method, CefPostData postData, java.util.Map<java.lang.String,java.lang.String> headerMap)
public abstract void setFirstPartyForCookies(java.lang.String url)
public abstract void setFlags(int flags)
public abstract void setHeaderMap(java.util.Map<java.lang.String,java.lang.String> headerMap)
public abstract void setMethod(java.lang.String method)
public abstract void setPostData(CefPostData postData)
public abstract void setReferrer(java.lang.String url, CefRequest.ReferrerPolicy policy)
public abstract void setURL(java.lang.String url)
public java.lang.String toString()
toString
在类中
java.lang.Object