Class SpringDevToolsPortHandler

java.lang.Object
com.vaadin.flow.spring.SpringDevToolsPortHandler
All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor

public class SpringDevToolsPortHandler extends Object implements org.springframework.boot.env.EnvironmentPostProcessor
Sets Spring Boot dev tools to run on a free random port if the default port (35729) is in use.
  • Constructor Details

    • SpringDevToolsPortHandler

      public SpringDevToolsPortHandler()
  • Method Details

    • postProcessEnvironment

      public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
      Specified by:
      postProcessEnvironment in interface org.springframework.boot.env.EnvironmentPostProcessor