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