Class InversionConfig

java.lang.Object
io.inversion.spring.config.InversionConfig

@Configuration public class InversionConfig extends Object
  • Constructor Details

    • InversionConfig

      public InversionConfig()
  • Method Details

    • buildEngineServlet

      @Bean public org.springframework.boot.web.servlet.ServletRegistrationBean buildEngineServlet(@Autowired io.inversion.Engine engine, @Autowired io.inversion.Api... apis)
    • applyEnvironment

      protected void applyEnvironment(io.inversion.Engine engine, org.springframework.core.env.Environment environment)
    • buildWebServerFactory

      @Bean public org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory buildWebServerFactory()
    • buildServletMapping

      public static String buildServletMapping(io.inversion.Engine engine)
      Parameters:
      engine - the Engine hosting the Apis
      Returns:
      accumulation all of the static path parts shared by all Engine includesPaths.