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 theHandlerMethodRequestBodyparameterRequestBodyAdviceimplementation- Since:
- 1.0.0
- Author:
- Mercy
-
-
Constructor Summary
Constructors Constructor Description StoringRequestBodyArgumentAdvice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectafterBodyRead(java.lang.Object body, org.springframework.http.HttpInputMessage inputMessage, org.springframework.core.MethodParameter parameter, java.lang.reflect.Type targetType, java.lang.Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)booleansupports(org.springframework.core.MethodParameter methodParameter, java.lang.reflect.Type targetType, java.lang.Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)-
Methods inherited from class io.microsphere.spring.webmvc.advice.RequestBodyAdviceAdapter
beforeBodyRead, handleEmptyBody
-
-
-
-
Method Detail
-
supports
public boolean supports(org.springframework.core.MethodParameter methodParameter, java.lang.reflect.Type targetType, java.lang.Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)- Specified by:
supportsin interfaceorg.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice- Overrides:
supportsin classRequestBodyAdviceAdapter
-
afterBodyRead
public java.lang.Object afterBodyRead(java.lang.Object body, org.springframework.http.HttpInputMessage inputMessage, org.springframework.core.MethodParameter parameter, java.lang.reflect.Type targetType, java.lang.Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)- Specified by:
afterBodyReadin interfaceorg.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice- Overrides:
afterBodyReadin classRequestBodyAdviceAdapter
-
-