Example usage for org.springframework.boot.devtools.remote.server UrlHandlerMapper UrlHandlerMapper

List of usage examples for org.springframework.boot.devtools.remote.server UrlHandlerMapper UrlHandlerMapper

Introduction

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

Prototype

public UrlHandlerMapper(String url, Handler handler) 

Source Link

Document

Create a new UrlHandlerMapper .

Usage

From source file:org.springframework.boot.devtools.autoconfigure.RemoteDevToolsAutoConfiguration.java

@Bean
public HandlerMapper remoteDevToolsHealthCheckHandlerMapper() {
    Handler handler = new HttpStatusHandler();
    return new UrlHandlerMapper(this.properties.getRemote().getContextPath(), handler);
}