Class StoringRequestBodyArgumentAdvice
java.lang.Object
io.microsphere.spring.webmvc.advice.RequestBodyAdviceAdapter
io.microsphere.spring.webmvc.advice.StoringRequestBodyArgumentAdvice
- All Implemented Interfaces:
org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
@RestControllerAdvice
public final class StoringRequestBodyArgumentAdvice
extends RequestBodyAdviceAdapter
Store the
HandlerMethod
RequestBody
parameter RequestBodyAdvice
implementation- Since:
- 1.0.0
- Author:
- Mercy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterBodyRead
(Object body, org.springframework.http.HttpInputMessage inputMessage, org.springframework.core.MethodParameter parameter, Type targetType, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType) boolean
supports
(org.springframework.core.MethodParameter methodParameter, Type targetType, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType) Methods inherited from class io.microsphere.spring.webmvc.advice.RequestBodyAdviceAdapter
beforeBodyRead, handleEmptyBody
-
Constructor Details
-
StoringRequestBodyArgumentAdvice
public StoringRequestBodyArgumentAdvice()
-
-
Method Details
-
supports
-
afterBodyRead
public Object afterBodyRead(Object body, org.springframework.http.HttpInputMessage inputMessage, org.springframework.core.MethodParameter parameter, Type targetType, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType) - Specified by:
afterBodyRead
in interfaceorg.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
- Overrides:
afterBodyRead
in classRequestBodyAdviceAdapter
-