类 RequestDecryptHandler

  • 所有已实现的接口:
    org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice

    @ControllerAdvice
    @ConditionalOnClass(javax.servlet.http.HttpServletRequest.class)
    public class RequestDecryptHandler
    extends org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter
    请求解密处理器
    从以下版本开始:
    2020年9月18日
    作者:
    ylyue
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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)  
      boolean supports​(org.springframework.core.MethodParameter methodParameter, Type targetType, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)  
      • 从类继承的方法 org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter

        afterBodyRead, handleEmptyBody
    • 构造器详细资料

      • RequestDecryptHandler

        public RequestDecryptHandler()
    • 方法详细资料

      • supports

        public boolean supports​(org.springframework.core.MethodParameter methodParameter,
                                Type targetType,
                                Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)
      • 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
        覆盖:
        beforeBodyRead 在类中 org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter
        抛出:
        IOException