类 ApiDecryptRequestBodyAdvice

java.lang.Object
org.springblade.core.api.crypto.core.ApiDecryptRequestBodyAdvice
所有已实现的接口:
org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice

@Order(1) @AutoConfiguration @ControllerAdvice @ConditionalOnProperty(value="blade.api.crypto.enabled", havingValue="true", matchIfMissing=true) public class ApiDecryptRequestBodyAdvice extends Object implements org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
请求数据的加密信息解密处理
本类只对控制器参数中含有RequestBody 以及package为org.springblade.core.api.signature.annotation.decrypt下的注解有效
作者:
licoy.cn, L.cm
另请参阅:
  • RequestBodyAdvice
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    afterBodyRead(Object body, org.springframework.http.HttpInputMessage inputMessage, org.springframework.core.MethodParameter parameter, Type targetType, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)
     
    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)
     
    handleEmptyBody(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)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • ApiDecryptRequestBodyAdvice

      public ApiDecryptRequestBodyAdvice()
  • 方法详细资料

    • supports

      public boolean supports(org.springframework.core.MethodParameter methodParameter, @NonNull Type targetType, @NonNull Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)
      指定者:
      supports 在接口中 org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
    • handleEmptyBody

      public Object handleEmptyBody(Object body, @NonNull org.springframework.http.HttpInputMessage inputMessage, @NonNull org.springframework.core.MethodParameter parameter, @NonNull Type targetType, @NonNull Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)
      指定者:
      handleEmptyBody 在接口中 org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
    • beforeBodyRead

      @NonNull public org.springframework.http.HttpInputMessage beforeBodyRead(org.springframework.http.HttpInputMessage inputMessage, @NonNull org.springframework.core.MethodParameter parameter, @NonNull Type targetType, @NonNull Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType) throws IOException
      指定者:
      beforeBodyRead 在接口中 org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
      抛出:
      IOException
    • afterBodyRead

      @NonNull public Object afterBodyRead(@NonNull Object body, @NonNull org.springframework.http.HttpInputMessage inputMessage, @NonNull org.springframework.core.MethodParameter parameter, @NonNull Type targetType, @NonNull Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)
      指定者:
      afterBodyRead 在接口中 org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice