@Deprecated public class ResourceProcessorHandlerMethodReturnValueHandler extends Object implements org.springframework.web.method.support.HandlerMethodReturnValueHandler
HandlerMethodReturnValueHandler
to post-process the objects returned from controller methods using the
configured ResourceProcessor
s.Constructor and Description |
---|
ResourceProcessorHandlerMethodReturnValueHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
handleReturnValue(Object returnValue,
org.springframework.core.MethodParameter returnType,
org.springframework.web.method.support.ModelAndViewContainer mavContainer,
org.springframework.web.context.request.NativeWebRequest webRequest)
Deprecated.
|
void |
setRootLinksAsHeaders(boolean rootLinksAsHeaders)
Deprecated.
|
boolean |
supportsReturnType(org.springframework.core.MethodParameter returnType)
Deprecated.
|
public ResourceProcessorHandlerMethodReturnValueHandler()
public void setRootLinksAsHeaders(boolean rootLinksAsHeaders)
rootLinksAsHeaders
- the rootLinksAsHeaders to setpublic boolean supportsReturnType(org.springframework.core.MethodParameter returnType)
supportsReturnType
in interface org.springframework.web.method.support.HandlerMethodReturnValueHandler
public void handleReturnValue(Object returnValue, org.springframework.core.MethodParameter returnType, org.springframework.web.method.support.ModelAndViewContainer mavContainer, org.springframework.web.context.request.NativeWebRequest webRequest) throws Exception
handleReturnValue
in interface org.springframework.web.method.support.HandlerMethodReturnValueHandler
Exception
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.