@ControllerAdvice
@ConditionalOnClass(value=javax.servlet.http.HttpServletRequest.class)
public class RequestDecryptHandler
extends org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceAdapter
| 构造器和说明 |
|---|
RequestDecryptHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2021 Pivotal Software, Inc.. All rights reserved.