Class RequestBodyAdviceAdapter

java.lang.Object
io.microsphere.spring.webmvc.advice.RequestBodyAdviceAdapter
All Implemented Interfaces:
org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
Direct Known Subclasses:
StoringRequestBodyArgumentAdvice

public abstract class RequestBodyAdviceAdapter extends Object implements org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
RequestBodyAdvice Adapter Class
Since:
1.0.0
Author:
Mercy
  • Constructor Details

    • RequestBodyAdviceAdapter

      public RequestBodyAdviceAdapter()
  • Method Details

    • beforeBodyRead

      public org.springframework.http.HttpInputMessage beforeBodyRead(org.springframework.http.HttpInputMessage inputMessage, org.springframework.core.MethodParameter parameter, Type targetType, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType) throws IOException
      Specified by:
      beforeBodyRead in interface org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
      Throws:
      IOException
    • 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 interface org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
    • handleEmptyBody

      public Object handleEmptyBody(Object body, org.springframework.http.HttpInputMessage inputMessage, org.springframework.core.MethodParameter parameter, Type targetType, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)
      Specified by:
      handleEmptyBody in interface org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice