public abstract class CefRequest extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CefRequest.CefUrlRequestFlags |
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.
|
abstract String |
getFirstPartyForCookies()
Get the URL to the first party for cookies used in combination with
CefURLRequest.
|
abstract int |
getFlags()
Get the flags used in combination with CefURLRequest.
|
abstract void |
getHeaderMap(Map<String,String> headerMap)
Get the header values.
|
abstract String |
getMethod()
Get the request method type.
|
abstract CefPostData |
getPostData()
Get the post data.
|
abstract CefRequest.ResourceType |
getResourceType()
Get the resource type for this request.
|
abstract CefRequest.TransitionType |
getTransitionType()
Get the transition type for this request.
|
abstract String |
getURL()
Get the fully qualified URL.
|
abstract boolean |
isReadOnly()
Returns true if this object is read-only.
|
abstract void |
set(String url,
String method,
CefPostData postData,
Map<String,String> headerMap)
Set all values at one time.
|
abstract void |
setFirstPartyForCookies(String url)
Set the URL to the first party for cookies used in combination with
CefURLRequest.
|
abstract void |
setFlags(int flags)
Set the flags used in combination with CefURLRequest.
|
abstract void |
setHeaderMap(Map<String,String> headerMap)
Set the header values.
|
abstract void |
setMethod(String string)
Set the request method type.
|
abstract void |
setPostData(CefPostData postData)
Set the post data.
|
abstract void |
setURL(String url)
Set the fully qualified URL.
|
String |
toString() |
public static final CefRequest create()
public abstract boolean isReadOnly()
public abstract String getURL()
public abstract void setURL(String url)
public abstract String getMethod()
public abstract void setMethod(String string)
public abstract CefPostData getPostData()
public abstract void setPostData(CefPostData postData)
public abstract void set(String url, String method, CefPostData postData, Map<String,String> headerMap)
public abstract int getFlags()
public abstract void setFlags(int flags)
public abstract String getFirstPartyForCookies()
public abstract void setFirstPartyForCookies(String url)
public abstract CefRequest.ResourceType getResourceType()
public abstract CefRequest.TransitionType getTransitionType()
Copyright © 2017. All rights reserved.