RequestInterceptorHandler class
请求拦截器处理器
用于在拦截器中控制请求流程
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCompleted → bool
-
no setter
- modifiedRequest → AdapterRequest?
-
no setter
- rejectedError → AdapterException?
-
no setter
- resolvedResponse → AdapterResponse?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
next(
AdapterRequest request) → void - 继续处理请求(可以修改请求)
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reject(
AdapterException error) → void - 拒绝请求并抛出错误
-
resolve(
AdapterResponse response) → void - 直接返回响应,跳过后续处理
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited