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

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

Introduction

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

Prototype

public DispatcherFilter(Dispatcher dispatcher) 

Source Link

Usage

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

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