CefRequest

abstract class CefRequest : CefNativeAdapter

Class used to represent a web request. The methods of this class may be called on any thread.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
Policy for how the Referrer HTTP header value will be sent during navigation.
Link copied to clipboard
Resource type for a request.
Link copied to clipboard
Transition qualifiers.
Link copied to clipboard
Transition type for a request.

Functions

Link copied to clipboard
Create a new CefRequest object.
Link copied to clipboard
abstract fun dispose()
Removes the native reference from an unused object.
Link copied to clipboard
Get the URL to the first party for cookies used in combination with CefURLRequest.
Link copied to clipboard
abstract fun getFlags(): Int
Get the flags used in combination with CefURLRequest.
Link copied to clipboard
abstract fun getHeaderByName(name: String): String
Get the value for the specified response header field.
Link copied to clipboard
abstract fun getHeaderMap(headerMap: Map<String, String>)
Get the header values.
Link copied to clipboard
abstract fun getIdentifier(): Long
Returns the globally unique identifier for this request or 0 if not specified.
Link copied to clipboard
abstract fun getMethod(): String
Get the request method type.
Link copied to clipboard
open fun getNativeRef(): Long

open fun getNativeRef(identifer: String): Long
Method is called by the native code to get the reference to an previous stored identifier.
Link copied to clipboard
abstract fun getPostData(): CefPostData
Get the post data.
Link copied to clipboard
Get the referrer policy.
Link copied to clipboard
abstract fun getReferrerURL(): String
Get the referrer URL.
Link copied to clipboard
Get the resource type for this request.
Link copied to clipboard
Get the transition type for this request.
Link copied to clipboard
abstract fun getURL(): String
Get the fully qualified URL.
Link copied to clipboard
abstract fun isReadOnly(): Boolean
Returns true if this object is read-only.
Link copied to clipboard
abstract fun set(url: String, method: String, postData: CefPostData, headerMap: Map<String, String>)
Set all values at one time.
Link copied to clipboard
abstract fun setFirstPartyForCookies(url: String)
Set the URL to the first party for cookies used in combination with CefURLRequest.
Link copied to clipboard
abstract fun setFlags(flags: Int)
Set the flags used in combination with CefURLRequest.
Link copied to clipboard
abstract fun setHeaderByName(name: String, value: String, overwrite: Boolean)
Set the value for the specified response header field.
Link copied to clipboard
abstract fun setHeaderMap(headerMap: Map<String, String>)
Set the header values.
Link copied to clipboard
abstract fun setMethod(method: String)
Set the request method type.
Link copied to clipboard
open fun setNativeRef(identifer: String, nativeRef: Long)
Method is called by the native code to store a reference to an implemented native JNI counterpart.
Link copied to clipboard
abstract fun setPostData(postData: CefPostData)
Set the post data.
Link copied to clipboard
abstract fun setReferrer(url: String, policy: CefRequest.ReferrerPolicy)
Set the referrer URL and policy.
Link copied to clipboard
abstract fun setURL(url: String)
Set the fully qualified URL.
Link copied to clipboard
open fun toString(): String