public class CustomHandlerMethodReturnValueHandler extends Object implements org.springframework.web.method.support.HandlerMethodReturnValueHandler
| 构造器和说明 |
|---|
CustomHandlerMethodReturnValueHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleReturnValue(Object o,
org.springframework.core.MethodParameter methodParameter,
org.springframework.web.method.support.ModelAndViewContainer modelAndViewContainer,
org.springframework.web.context.request.NativeWebRequest nativeWebRequest) |
boolean |
supportsReturnType(org.springframework.core.MethodParameter methodParameter) |
public boolean supportsReturnType(org.springframework.core.MethodParameter methodParameter)
supportsReturnType 在接口中 org.springframework.web.method.support.HandlerMethodReturnValueHandlerpublic void handleReturnValue(Object o, org.springframework.core.MethodParameter methodParameter, org.springframework.web.method.support.ModelAndViewContainer modelAndViewContainer, org.springframework.web.context.request.NativeWebRequest nativeWebRequest) throws Exception
handleReturnValue 在接口中 org.springframework.web.method.support.HandlerMethodReturnValueHandlerExceptionCopyright © 2022. All rights reserved.