类 DecryptRequestParamsAdvice

java.lang.Object
cn.iosd.starter.encrypt.rsa.annotation.DecryptRequestParamsAdvice
所有已实现的接口:
org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice

@ControllerAdvice @ConditionalOnProperty(name="simple.encrypt.rsa.secureParams.enabled", havingValue="true", matchIfMissing=true) public class DecryptRequestParamsAdvice extends Object implements org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
解密请求参数

对 RequestBody 进行处理

作者:
ok1996
  • 构造器概要

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

    修饰符和类型
    方法
    说明
    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 parameter, Type targetType, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)
     

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

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

    • DecryptRequestParamsAdvice

      public DecryptRequestParamsAdvice()
  • 方法详细资料

    • supports

      public boolean supports(org.springframework.core.MethodParameter parameter, Type targetType, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)
      指定者:
      supports 在接口中 org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
    • 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
      指定者:
      beforeBodyRead 在接口中 org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
      抛出:
      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)
      指定者:
      afterBodyRead 在接口中 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)
      指定者:
      handleEmptyBody 在接口中 org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice