类 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.HttpInputMessagebeforeBodyRead(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) booleansupports(org.springframework.core.MethodParameter parameter, Type targetType, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)
-
构造器详细资料
-
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
-