class ResponseBodyAdviceChain
extends java.lang.Object
ResponseBodyAdvice
beans.Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.Object> |
advice |
private static Log |
logger |
Constructor and Description |
---|
ResponseBodyAdviceChain(java.util.List<java.lang.Object> advice) |
Modifier and Type | Method and Description |
---|---|
<T> T |
invoke(T body,
MethodParameter returnType,
MediaType selectedContentType,
java.lang.Class<? extends HttpMessageConverter<?>> selectedConverterType,
ServerHttpRequest request,
ServerHttpResponse response) |
private static final Log logger
private final java.util.List<java.lang.Object> advice
public ResponseBodyAdviceChain(java.util.List<java.lang.Object> advice)
public <T> T invoke(T body, MethodParameter returnType, MediaType selectedContentType, java.lang.Class<? extends HttpMessageConverter<?>> selectedConverterType, ServerHttpRequest request, ServerHttpResponse response)