Class Neo4jDataAutoConfiguration.Neo4jWebConfiguration.Neo4jWebMvcConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.data.neo4j.Neo4jDataAutoConfiguration.Neo4jWebConfiguration.Neo4jWebMvcConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
- Enclosing class:
- Neo4jDataAutoConfiguration.Neo4jWebConfiguration
@Configuration protected static class Neo4jDataAutoConfiguration.Neo4jWebConfiguration.Neo4jWebMvcConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Constructor Summary
Constructors Modifier Constructor Description protectedNeo4jWebMvcConfiguration(Neo4jProperties neo4jProperties)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)org.springframework.data.neo4j.web.support.OpenSessionInViewInterceptorneo4jOpenSessionInViewInterceptor()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
Constructor Detail
Neo4jWebMvcConfiguration
protected Neo4jWebMvcConfiguration(Neo4jProperties neo4jProperties)
Method Detail
neo4jOpenSessionInViewInterceptor
@Bean public org.springframework.data.neo4j.web.support.OpenSessionInViewInterceptor neo4jOpenSessionInViewInterceptor()
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
- Specified by:
addInterceptorsin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer