public abstract class CefResponse
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static CefResponse |
create()
Create a new CefRequest object.
(创建一个新的CefRequest对象。)
|
abstract void |
dispose()
Removes the native reference from an unused object.
(从未使用的对象中删除本机引用。)
|
protected void |
finalize() |
abstract CefLoadHandler.ErrorCode |
getError()
Get the response error code.
(获取响应错误代码。)
|
abstract java.lang.String |
getHeader(java.lang.String name)
Get the value for the specified response header field.
(获取指定响应头字段的值。)
|
abstract void |
getHeaderMap(java.util.Map<java.lang.String,java.lang.String> headerMap)
Get all response header fields.
(获取所有响应头字段。)
|
abstract java.lang.String |
getMimeType()
Get the response mime type.
(获取响应的mime类型。)
|
abstract int |
getStatus()
Get the response status code.
(获取响应状态码。)
|
abstract java.lang.String |
getStatusText()
Get the response status text.
(获取响应状态文本。)
|
abstract boolean |
isReadOnly()
Returns true if this object is read-only.
(如果此对象是只读的,则返回true。)
|
abstract void |
setError(CefLoadHandler.ErrorCode errorCode)
Get the response error code.
(获取响应错误代码。)
|
abstract void |
setHeaderMap(java.util.Map<java.lang.String,java.lang.String> headerMap)
Set all response header fields.
(设置所有响应头字段。)
|
abstract void |
setMimeType(java.lang.String mimeType)
Set the response mime type.
(设置响应MIME类型。)
|
abstract void |
setStatus(int status)
Set the response status code.
(设置响应状态代码。)
|
abstract void |
setStatusText(java.lang.String statusText)
Set the response status text.
(设置响应状态文本。)
|
java.lang.String |
toString() |
public static final CefResponse create()
public abstract void dispose()
protected void finalize() throws java.lang.Throwable
finalize
在类中
java.lang.Object
java.lang.Throwable
public abstract CefLoadHandler.ErrorCode getError()
public abstract java.lang.String getHeader(java.lang.String name)
public abstract void getHeaderMap(java.util.Map<java.lang.String,java.lang.String> headerMap)
public abstract java.lang.String getMimeType()
public abstract int getStatus()
public abstract java.lang.String getStatusText()
public abstract boolean isReadOnly()
public abstract void setError(CefLoadHandler.ErrorCode errorCode)
public abstract void setHeaderMap(java.util.Map<java.lang.String,java.lang.String> headerMap)
public abstract void setMimeType(java.lang.String mimeType)
public abstract void setStatus(int status)
public abstract void setStatusText(java.lang.String statusText)
public java.lang.String toString()
toString
在类中
java.lang.Object