spring4-3 适配jdk8的CompletableFuture
1.DeferredResultMethodReturnValueHandler
旧版本(spring4.1.6)
@Override
public void handleReturnValue(Object returnValue, MethodParameter returnType,
ModelAndViewContainer mavContainer, NativeWebRequest webRequest) throws Exception {
if (returnValue
原创
2022-05-20 17:28:32 ·
312 阅读 ·
0 评论