public interface ResponseBodyAdviceProcessor
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
process(Object body,
org.springframework.core.MethodParameter returnType,
org.springframework.http.MediaType selectedContentType,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> selectedConverterType,
org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response)
ResponseBodyAdviceProcessor 处理
|
Object process(Object body, org.springframework.core.MethodParameter returnType, org.springframework.http.MediaType selectedContentType, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> selectedConverterType, org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response)
body - 请求体returnType - 返回类型selectedContentType - selectedConverterType - request - response - Copyright © 2024. All rights reserved.