| 构造器和说明 |
|---|
DefaultRestfulResponseBodyAdvice() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
beforeBodyWrite(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) |
boolean |
supports(org.springframework.core.MethodParameter returnType,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType) |
public Object beforeBodyWrite(@Nullable Object body, @Nullable org.springframework.core.MethodParameter returnType, @Nullable org.springframework.http.MediaType selectedContentType, @Nullable Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> selectedConverterType, @Nullable org.springframework.http.server.ServerHttpRequest request, @Nullable org.springframework.http.server.ServerHttpResponse response)
beforeBodyWrite 在接口中 org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice<Object>Copyright © 2019. All rights reserved.