Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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)  
      boolean supports​(org.springframework.core.MethodParameter methodParameter, java.lang.reflect.Type targetType, java.lang.Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StoringRequestBodyArgumentAdvice

        public StoringRequestBodyArgumentAdvice()
    • 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)
      • 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:
        afterBodyRead in interface org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
        Overrides:
        afterBodyRead in class RequestBodyAdviceAdapter