@Configuration @ConditionalOnProperty(prefix="spring.devtools.remote", name="secret") @ConditionalOnClass(value={javax.servlet.Filter.class,org.springframework.http.server.ServerHttpRequest.class}) @EnableConfigurationProperties(value={ServerProperties.class,DevToolsProperties.class}) public class RemoteDevToolsAutoConfiguration extends Object
Auto-configuration
for remote development support.Constructor and Description |
---|
RemoteDevToolsAutoConfiguration(DevToolsProperties properties,
ServerProperties serverProperties) |
Modifier and Type | Method and Description |
---|---|
AccessManager |
remoteDevToolsAccessManager() |
DispatcherFilter |
remoteDevToolsDispatcherFilter(AccessManager accessManager,
Collection<HandlerMapper> mappers) |
HandlerMapper |
remoteDevToolsHealthCheckHandlerMapper() |
public RemoteDevToolsAutoConfiguration(DevToolsProperties properties, ServerProperties serverProperties)
@Bean @ConditionalOnMissingBean public AccessManager remoteDevToolsAccessManager()
@Bean public HandlerMapper remoteDevToolsHealthCheckHandlerMapper()
@Bean @ConditionalOnMissingBean public DispatcherFilter remoteDevToolsDispatcherFilter(AccessManager accessManager, Collection<HandlerMapper> mappers)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.