@ControllerAdvice
public class DataSecureRequestBodyAdvice
extends org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter
| 构造器和说明 |
|---|
DataSecureRequestBodyAdvice(DataSecureProperties properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.HttpInputMessage |
beforeBodyRead(org.springframework.http.HttpInputMessage httpInputMessage,
org.springframework.core.MethodParameter methodParameter,
Type type,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass) |
boolean |
supports(org.springframework.core.MethodParameter methodParameter,
Type type,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass) |
public DataSecureRequestBodyAdvice(DataSecureProperties properties)
public boolean supports(org.springframework.core.MethodParameter methodParameter,
Type type,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass)
public org.springframework.http.HttpInputMessage beforeBodyRead(org.springframework.http.HttpInputMessage httpInputMessage,
org.springframework.core.MethodParameter methodParameter,
Type type,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass)
throws IOException
beforeBodyRead 在接口中 org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvicebeforeBodyRead 在类中 org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapterIOExceptionCopyright © 2021. All rights reserved.