T
- 过滤参数类型,HttpRequest或者HttpResponsepublic static class HttpInterceptor.Chain<T extends HttpBase<T>> extends Object implements Chain<HttpInterceptor<T>,HttpInterceptor.Chain<T>>
Constructor and Description |
---|
Chain() |
Modifier and Type | Method and Description |
---|---|
HttpInterceptor.Chain<T> |
addChain(HttpInterceptor<T> element)
加入责任链
|
HttpInterceptor.Chain<T> |
clear()
清空
|
Iterator<HttpInterceptor<T>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public HttpInterceptor.Chain<T> addChain(HttpInterceptor<T> element)
Chain
addChain
in interface Chain<HttpInterceptor<T extends HttpBase<T>>,HttpInterceptor.Chain<T extends HttpBase<T>>>
element
- 责任链新的环节元素public Iterator<HttpInterceptor<T>> iterator()
public HttpInterceptor.Chain<T> clear()
Copyright © 2024. All rights reserved.