@ControllerAdvice
public class RequestHandler
extends org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) SafeConfig.CodeSafe |
codeSafe |
| 构造器和说明 |
|---|
RequestHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 type,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass) |
@Autowired SafeConfig.CodeSafe codeSafe
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 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.RequestBodyAdvicebeforeBodyRead 在类中 org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapterIOExceptionCopyright © 2023. All rights reserved.