public class RepositoryRestHandlerAdapter extends ResourceProcessorInvokingHandlerAdapter
RequestMappingHandlerAdapter implementation that adds a couple argument resolvers for controller method
parameters used in the REST exporter controller. Also only looks for handler methods in the Spring Data REST provided
controller classes to help isolate this handler adapter from other handler adapters the user might have configured in
their Spring MVC context.INIT_BINDER_METHODS, MODEL_ATTRIBUTE_METHODSHEADER_CACHE_CONTROL, METHOD_GET, METHOD_HEAD, METHOD_POSTloggerHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
RepositoryRestHandlerAdapter(List<HandlerMethodArgumentResolver> argumentResolvers,
ResourceProcessorInvoker invoker)
Creates a new
RepositoryRestHandlerAdapter using the given HandlerMethodArgumentResolver and
ResourceProcessorInvoker. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
int |
getOrder() |
protected boolean |
supportsInternal(HandlerMethod handlerMethod) |
createDataBinderFactory, createInvocableHandlerMethod, getArgumentResolvers, getBeanFactory, getCustomArgumentResolvers, getCustomReturnValueHandlers, getInitBinderArgumentResolvers, getLastModifiedInternal, getMessageConverters, getModelAndViewResolvers, getReturnValueHandlers, getWebBindingInitializer, handleInternal, invokeHandlerMethod, setArgumentResolvers, setAsyncRequestTimeout, setBeanFactory, setCacheSecondsForSessionAttributeHandlers, setCallableInterceptors, setContentNegotiationManager, setCustomArgumentResolvers, setCustomReturnValueHandlers, setDeferredResultInterceptors, setIgnoreDefaultModelOnRedirect, setInitBinderArgumentResolvers, setMessageConverters, setModelAndViewResolvers, setParameterNameDiscoverer, setRequestBodyAdvice, setResponseBodyAdvice, setReturnValueHandlers, setSessionAttributeStore, setSynchronizeOnSession, setTaskExecutor, setWebBindingInitializergetLastModified, handle, setOrder, supportsapplyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, checkRequest, getCacheControl, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextgetApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContextpublic RepositoryRestHandlerAdapter(List<HandlerMethodArgumentResolver> argumentResolvers, ResourceProcessorInvoker invoker)
RepositoryRestHandlerAdapter using the given HandlerMethodArgumentResolver and
ResourceProcessorInvoker.argumentResolvers - must not be null.invoker - must not be null.public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class ResourceProcessorInvokingHandlerAdapterpublic int getOrder()
getOrder in interface OrderedgetOrder in class AbstractHandlerMethodAdapterprotected boolean supportsInternal(HandlerMethod handlerMethod)
supportsInternal in class RequestMappingHandlerAdapterCopyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.