Java 类org.springframework.boot.web.servlet.error.ErrorAttributes 实例源码

项目:spring-cloud-sleuth    文件:WebClientTests.java   
@Bean
TestErrorController testErrorController(ErrorAttributes errorAttributes, Tracer tracer) {
    return new TestErrorController(errorAttributes, tracer);
}
项目:spring-cloud-sleuth    文件:WebClientTests.java   
public TestErrorController(ErrorAttributes errorAttributes, Tracer tracer) {
    super(errorAttributes, new ServerProperties().getError());
    this.tracer = tracer;
}
项目:spring-cloud-netflix    文件:OkHttpRibbonCommandIntegrationTests.java   
@Bean
public MyErrorController myErrorController(ErrorAttributes errorAttributes) {
    return new MyErrorController(errorAttributes);
}
项目:spring-cloud-netflix    文件:HttpClientRibbonCommandIntegrationTests.java   
@Bean
public ZuulProxyTestBase.MyErrorController myErrorController(
        ErrorAttributes errorAttributes) {
    return new ZuulProxyTestBase.MyErrorController(errorAttributes);
}
项目:spring-cloud-netflix    文件:ZuulProxyTestBase.java   
public MyErrorController(ErrorAttributes errorAttributes) {
    super(errorAttributes, new ErrorProperties());
}
项目:spring-cloud-netflix    文件:RibbonCommandFallbackTests.java   
@Bean
public ZuulProxyTestBase.MyErrorController myErrorController(
        ErrorAttributes errorAttributes) {
    return new ZuulProxyTestBase.MyErrorController(errorAttributes);
}
项目:spring-cloud-netflix    文件:RestClientRibbonCommandIntegrationTests.java   
@Bean
public MyErrorController myErrorController(ErrorAttributes errorAttributes) {
    return new MyErrorController(errorAttributes);
}