@Deprecated public class ResourceProcessorHandlerMethodReturnValueHandler extends Object implements HandlerMethodReturnValueHandler
HandlerMethodReturnValueHandler
to post-process the objects returned from controller methods using the
configured ResourceProcessor
s.Constructor and Description |
---|
ResourceProcessorHandlerMethodReturnValueHandler(HandlerMethodReturnValueHandler delegate,
ResourceProcessorInvoker invoker)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
handleReturnValue(Object returnValue,
MethodParameter returnType,
ModelAndViewContainer mavContainer,
NativeWebRequest webRequest)
Deprecated.
|
void |
setRootLinksAsHeaders(boolean rootLinksAsHeaders)
Deprecated.
|
boolean |
supportsReturnType(MethodParameter returnType)
Deprecated.
|
@ConstructorProperties(value={"delegate","invoker"}) @Generated(value="lombok") public ResourceProcessorHandlerMethodReturnValueHandler(@NonNull HandlerMethodReturnValueHandler delegate, @NonNull ResourceProcessorInvoker invoker)
public void setRootLinksAsHeaders(boolean rootLinksAsHeaders)
rootLinksAsHeaders
- the rootLinksAsHeaders to setpublic boolean supportsReturnType(MethodParameter returnType)
supportsReturnType
in interface HandlerMethodReturnValueHandler
public void handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) throws Exception
handleReturnValue
in interface HandlerMethodReturnValueHandler
Exception
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.