public interface Interceptor<T>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Interceptor.Chain
Chain interface to chain up a list of interceptors.
|
| Modifier and Type | Method and Description |
|---|---|
void |
intercept(Interceptor.Chain chain,
T data)
Intercept the chain
|
void intercept(Interceptor.Chain chain, T data)
chain - The interceptor chaindata - The data received from previous chain