Example usage for org.springframework.boot.devtools.restart.server RestartServer RestartServer

List of usage examples for org.springframework.boot.devtools.restart.server RestartServer RestartServer

Introduction

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

Prototype

public RestartServer(SourceFolderUrlFilter sourceFolderUrlFilter) 

Source Link

Document

Create a new RestartServer instance.

Usage

From source file:org.springframework.boot.devtools.restart.server.HttpRestartServer.java

/**
 * Create a new {@link HttpRestartServer} instance.
 * @param sourceFolderUrlFilter the source filter used to link remote folder to the
 * local classpath//from w  w w  .  j av a  2  s  . c  o  m
 */
public HttpRestartServer(SourceFolderUrlFilter sourceFolderUrlFilter) {
    Assert.notNull(sourceFolderUrlFilter, "SourceFolderUrlFilter must not be null");
    this.server = new RestartServer(sourceFolderUrlFilter);
}