AdapterInterceptor class abstract
统一的拦截器接口
支持请求、响应、错误拦截
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(
AdapterException error, ErrorInterceptorHandler handler) → void - 错误拦截
-
onRequest(
AdapterRequest request, RequestInterceptorHandler handler) → void - 请求拦截
-
onResponse(
AdapterResponse response, ResponseInterceptorHandler handler) → void - 响应拦截
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited