Uses of Interface
org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice
Packages that use ResponseBodyAdvice
Package
Description
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package.-
Uses of ResponseBodyAdvice in org.springframework.web.servlet.mvc.method.annotation
Classes in org.springframework.web.servlet.mvc.method.annotation that implement ResponseBodyAdviceModifier and TypeClassDescriptionclassA convenient base class forResponseBodyAdviceimplementations that customize the response before JSON serialization withAbstractJackson2HttpMessageConverter's concrete subclasses.classAResponseBodyAdviceimplementation that adds support for Jackson's@JsonViewannotation declared on a Spring MVC@RequestMappingor@ExceptionHandlermethod.Method parameters in org.springframework.web.servlet.mvc.method.annotation with type arguments of type ResponseBodyAdviceModifier and TypeMethodDescriptionvoidExceptionHandlerExceptionResolver.setResponseBodyAdvice(List<ResponseBodyAdvice<?>> responseBodyAdvice) Add one or more components to be invoked after the execution of a controller method annotated with@ResponseBodyor returningResponseEntitybut before the body is written to the response with the selectedHttpMessageConverter.voidRequestMappingHandlerAdapter.setResponseBodyAdvice(List<ResponseBodyAdvice<?>> responseBodyAdvice) Add one or moreResponseBodyAdviceinstances to intercept the response before@ResponseBodyorResponseEntityreturn values are written to the response body.