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

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

Introduction

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

Prototype

public HttpStatusHandler() 

Source Link

Document

Create a new HttpStatusHandler instance that will respond with a HTTP OK 200 status.

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);
}