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

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

Introduction

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

Prototype

public Dispatcher(AccessManager accessManager, Collection<HandlerMapper> mappers) 

Source Link

Usage

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

@Bean
@ConditionalOnMissingBean/*from  w  ww  . j a v a 2s. c o  m*/
public DispatcherFilter remoteDevToolsDispatcherFilter(AccessManager accessManager,
        Collection<HandlerMapper> mappers) {
    Dispatcher dispatcher = new Dispatcher(accessManager, mappers);
    return new DispatcherFilter(dispatcher);
}