Package com.vaadin.flow.spring
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
postProcessEnvironment
(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
-
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 interfaceorg.springframework.boot.env.EnvironmentPostProcessor
-