public interface BeforeResponseAdvice
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
beforeBodyWrite(Object body,
Method method)
所有处理完成后返回客户端前的处理
|
boolean |
supports(org.springframework.core.MethodParameter returnType,
Class converterType)
是否处理当前请求
|
Object |
toPackage(Object body,
Method method)
包装返回数据
|
Object |
toSecret(Object body,
Method method)
对包装数据进行加密
|
Copyright © 2022. All rights reserved.