类 SecretRequestAdvice
java.lang.Object
org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter
cn.nkpro.elcube.basic.secret.SecretRequestAdvice
- 所有已实现的接口:
org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
@ControllerAdvice
@ConditionalOnProperty(prefix="faster.secret",
name="enabled",
havingValue="true")
@EnableConfigurationProperties(SecretProperties.class)
@Order(1)
public class SecretRequestAdvice
extends org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.http.HttpInputMessagebeforeBodyRead(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 methodParameter, Type targetType, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)从类继承的方法 org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter
afterBodyRead, handleEmptyBody
-
构造器详细资料
-
SecretRequestAdvice
public SecretRequestAdvice()
-
-
方法详细资料
-
supports
-
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
-