public class ResponseBodyWrapHandler
extends java.lang.Object
implements org.springframework.web.method.support.HandlerMethodReturnValueHandler
| 构造器和说明 |
|---|
ResponseBodyWrapHandler(org.springframework.web.method.support.HandlerMethodReturnValueHandler delegate) |
| 限定符和类型 | 方法和说明 |
|---|---|
cn.featherfly.common.policy.AllowPolicy<java.lang.Object> |
getAllowPolicy()
返回allowPolicy
|
void |
handleReturnValue(java.lang.Object returnValue,
org.springframework.core.MethodParameter returnType,
org.springframework.web.method.support.ModelAndViewContainer mavContainer,
org.springframework.web.context.request.NativeWebRequest webRequest) |
void |
setAllowPolicy(cn.featherfly.common.policy.AllowPolicy<java.lang.Object> allowPolicy)
设置allowPolicy
|
boolean |
supportsReturnType(org.springframework.core.MethodParameter returnType) |
public ResponseBodyWrapHandler(org.springframework.web.method.support.HandlerMethodReturnValueHandler delegate)
public boolean supportsReturnType(org.springframework.core.MethodParameter returnType)
supportsReturnType 在接口中 org.springframework.web.method.support.HandlerMethodReturnValueHandlerpublic void handleReturnValue(java.lang.Object returnValue,
org.springframework.core.MethodParameter returnType,
org.springframework.web.method.support.ModelAndViewContainer mavContainer,
org.springframework.web.context.request.NativeWebRequest webRequest)
throws java.lang.Exception
handleReturnValue 在接口中 org.springframework.web.method.support.HandlerMethodReturnValueHandlerjava.lang.Exceptionpublic cn.featherfly.common.policy.AllowPolicy<java.lang.Object> getAllowPolicy()
public void setAllowPolicy(cn.featherfly.common.policy.AllowPolicy<java.lang.Object> allowPolicy)
allowPolicy - allowPolicy