public class RepresentationModelProcessorInvokingHandlerAdapter
extends org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
RequestMappingHandlerAdapter
that tweaks the HandlerMethodReturnValueHandlerComposite
to be
proxied by a RepresentationModelProcessorHandlerMethodReturnValueHandler
which will invoke the RepresentationModelProcessor
s found in the application context and eventually delegate to the originally configured
HandlerMethodReturnValueHandler
.
This is a separate component as it might make sense to deploy it in a standalone SpringMVC application to enable post
processing. It would actually make most sense in Spring HATEOAS project.INIT_BINDER_METHODS, MODEL_ATTRIBUTE_METHODS
Constructor and Description |
---|
RepresentationModelProcessorInvokingHandlerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
createDataBinderFactory, createInvocableHandlerMethod, getArgumentResolvers, getBeanFactory, getCustomArgumentResolvers, getCustomReturnValueHandlers, getInitBinderArgumentResolvers, getLastModifiedInternal, getMessageConverters, getModelAndViewResolvers, getReactiveAdapterRegistry, getReturnValueHandlers, getWebBindingInitializer, handleInternal, invokeHandlerMethod, setArgumentResolvers, setAsyncRequestTimeout, setBeanFactory, setCacheSecondsForSessionAttributeHandlers, setCallableInterceptors, setContentNegotiationManager, setCustomArgumentResolvers, setCustomReturnValueHandlers, setDeferredResultInterceptors, setIgnoreDefaultModelOnRedirect, setInitBinderArgumentResolvers, setMessageConverters, setModelAndViewResolvers, setParameterNameDiscoverer, setReactiveAdapterRegistry, setRequestBodyAdvice, setResponseBodyAdvice, setReturnValueHandlers, setSessionAttributeStore, setSynchronizeOnSession, setTaskExecutor, setWebBindingInitializer, supportsInternal
getLastModified, getOrder, handle, setOrder, supports
applyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, checkRequest, getAllowHeader, getCacheControl, getCacheSeconds, getSupportedMethods, getVaryByRequestHeaders, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader, setVaryByRequestHeaders
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.