public interface HttpClientRequestInterceptor
| 限定符和类型 | 方法和说明 |
|---|---|
HttpClientResponse |
intercept()
if isIntercept method is true Intercept the given request, and return a response Otherwise,
the
HttpClientRequest will be used for execution. |
boolean |
isIntercept(URI uri,
String httpMethod,
RequestHttpEntity requestHttpEntity)
is intercept.
|
boolean isIntercept(URI uri, String httpMethod, RequestHttpEntity requestHttpEntity)
uri - urihttpMethod - http methodrequestHttpEntity - request entityHttpClientResponse intercept()
HttpClientRequest will be used for execution.Copyright © 2018–2022 Alibaba Group. All rights reserved.