RemoteResponse

Constructors

Link copied to clipboard
constructor(impl: RemoteResponseImpl)

Functions

Link copied to clipboard
Create a new CefRequest object.
Link copied to clipboard
open fun dispose()
Removes the native reference from an unused object.
Link copied to clipboard
Get the response error code.
Link copied to clipboard
open fun getHeaderByName(name: String): String
Get the value for the specified response header field.
Link copied to clipboard
open fun getHeaderMap(headerMap: Map<String, String>)
Get all response header fields.
Link copied to clipboard
open fun getMimeType(): String
Get the response mime 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
open fun getStatus(): Int
Get the response status code.
Link copied to clipboard
open fun getStatusText(): String
Get the response status text.
Link copied to clipboard
open fun isReadOnly(): Boolean
Returns true if this object is read-only.
Link copied to clipboard
open fun setError(errorCode: CefLoadHandler.ErrorCode)
Get the response error code.
Link copied to clipboard
open fun setHeaderByName(name: String, value: String, overwrite: Boolean)
Set the value for the specified response header field.
Link copied to clipboard
open fun setHeaderMap(headerMap: Map<String, String>)
Set all response header fields.
Link copied to clipboard
open fun setMimeType(mimeType: String)
Set the response mime 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
open fun setStatus(status: Int)
Set the response status code.
Link copied to clipboard
open fun setStatusText(statusText: String)
Set the response status text.
Link copied to clipboard
open fun toString(): String