ResponseInterceptorHandler class

响应拦截器处理器

用于在拦截器中控制响应流程

Properties

hashCode int
The hash code for this object.
no setterinherited
isCompleted bool
no setter
modifiedResponse AdapterResponse?
no setter
rejectedError AdapterException?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

next(AdapterResponse response) → void
继续处理响应(可以修改响应)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reject(AdapterException error) → void
拒绝响应并抛出错误
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited