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

    Constructors
    Constructor
    Description
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
     
    void
    addInterceptors(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, wait

    Methods 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 - RequestMappingHandlerAdapter provider.
      dispatcherServletProvider - DispatcherServlet provider.
      applicationContextProvider - ApplicationContext provider.
  • Method Details

    • addInterceptors

      public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
      Specified by:
      addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • addCorsMappings

      public void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
      Specified by:
      addCorsMappings in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer