Example usage for org.springframework.boot.devtools.restart Restarter getInitialUrls

List of usage examples for org.springframework.boot.devtools.restart Restarter getInitialUrls

Introduction

In this page you can find the example usage for org.springframework.boot.devtools.restart Restarter getInitialUrls.

Prototype

public URL[] getInitialUrls() 

Source Link

Document

Return the initial set of URLs as configured by the RestartInitializer .

Usage

From source file:org.springframework.boot.devtools.env.DevToolsPropertyDefaultsPostProcessor.java

private boolean isRestarterInitialized() {
    try {// w  ww  .  j a  va 2s . co m
        Restarter restarter = Restarter.getInstance();
        return (restarter != null && restarter.getInitialUrls() != null);
    } catch (Exception ex) {
        return false;
    }
}