List of usage examples for org.springframework.boot.autoconfigure.web ServerProperties getError
public ErrorProperties getError()
From source file:org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.java
@Bean @ConditionalOnBean(ErrorAttributes.class) public ManagementErrorEndpoint errorEndpoint(ServerProperties serverProperties, ErrorAttributes errorAttributes) { return new ManagementErrorEndpoint(serverProperties.getError().getPath(), errorAttributes); }