public interface RequestPreprocessor
we can modify headers, cookies, params or even url of the request before actually send it.
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.ThreadLocal<java.lang.reflect.Method> |
CURRENT_METHOD_THREAD_LOCAL
for compatible, we use a ThreadLocal to store current method
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
process(HttpRequest request)
Pre-processing the request
|
static final java.lang.ThreadLocal<java.lang.reflect.Method> CURRENT_METHOD_THREAD_LOCAL
void process(HttpRequest request)
request - the request to sendCopyright © 2020. All Rights Reserved.