@ControllerAdvice(annotations=ROP.class) public class ROPResponseBodyAdvice extends Object implements org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice<Object>
| 构造器和说明 |
|---|
ROPResponseBodyAdvice(ROPServerConfigurationProperties properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 req,
org.springframework.http.server.ServerHttpResponse resp) |
boolean |
supports(org.springframework.core.MethodParameter returnType,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType) |
public ROPResponseBodyAdvice(ROPServerConfigurationProperties properties)
public 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 req, org.springframework.http.server.ServerHttpResponse resp)
beforeBodyWrite 在接口中 org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice<Object>Copyright © 2020. All rights reserved.