Class OfficeFloorWebMvcConfigurer
java.lang.Object
net.officefloor.spring.starter.rest.OfficeFloorWebMvcConfigurer
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
public class OfficeFloorWebMvcConfigurer
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
WebMvcConfigurer for OfficeFloor REST Spring Boot integration.-
Constructor Summary
ConstructorsConstructorDescriptionOfficeFloorWebMvcConfigurer(OfficeFloorRestSpringBootStarter starter, org.springframework.beans.factory.ObjectProvider<org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter> handlerAdapterProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.web.servlet.DispatcherServlet> dispatcherServletProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.context.ApplicationContext> applicationContextProvider) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) voidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addErrorResponseInterceptors, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
OfficeFloorWebMvcConfigurer
public OfficeFloorWebMvcConfigurer(OfficeFloorRestSpringBootStarter starter, org.springframework.beans.factory.ObjectProvider<org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter> handlerAdapterProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.web.servlet.DispatcherServlet> dispatcherServletProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.context.ApplicationContext> applicationContextProvider) Instantiate.- Parameters:
starter-OfficeFloorRestSpringBootStarter.handlerAdapterProvider-RequestMappingHandlerAdapterprovider.dispatcherServletProvider-DispatcherServletprovider.applicationContextProvider-ApplicationContextprovider.
-
-
Method Details
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) - Specified by:
addInterceptorsin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addCorsMappings
public void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) - Specified by:
addCorsMappingsin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-