@ControllerAdvice
@Order(value=1)
public class ZiyiRequestHandler
extends org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter
| 构造器和说明 |
|---|
ZiyiRequestHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
public boolean supports(org.springframework.core.MethodParameter methodParameter,
Type targetType,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)
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 © 2022. All rights reserved.