public class ReturnHandlerMethodReturnValueHandler extends Object implements org.springframework.web.method.support.AsyncHandlerMethodReturnValueHandler
| 构造器和说明 |
|---|
ReturnHandlerMethodReturnValueHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleReturnValue(Object o,
org.springframework.core.MethodParameter methodParameter,
org.springframework.web.method.support.ModelAndViewContainer modelAndViewContainer,
org.springframework.web.context.request.NativeWebRequest nativeWebRequest) |
boolean |
isAsyncReturnValue(Object returnValue,
org.springframework.core.MethodParameter returnType) |
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.HandlerMethodReturnValueHandlerExceptionpublic boolean isAsyncReturnValue(Object returnValue, org.springframework.core.MethodParameter returnType)
isAsyncReturnValue 在接口中 org.springframework.web.method.support.AsyncHandlerMethodReturnValueHandlerCopyright © 2022. All rights reserved.