Java 类org.springframework.boot.autoconfigure.web.ErrorViewResolver 实例源码

项目:cas-5.1.0    文件:Pac4jWebflowConfiguration.java   
@Bean
public ErrorViewResolver pac4jErrorViewResolver() {
    return new Pac4jErrorViewResolver();
}
项目:crnk-framework    文件:CrnkErrorController.java   
public CrnkErrorController(ErrorAttributes errorAttributes,
        ErrorProperties errorProperties,
        List<ErrorViewResolver> errorViewResolvers) {
    super(errorAttributes, errorProperties, errorViewResolvers);
}
项目:crnk-framework    文件:CrnkErrorControllerAutoConfiguration.java   
public CrnkErrorControllerAutoConfiguration(ServerProperties serverProperties,
        ObjectProvider<List<ErrorViewResolver>> errorViewResolversProvider) {
    this.serverProperties = serverProperties;
    this.errorViewResolvers = errorViewResolversProvider.getIfAvailable();
}
项目:spring-mvc-error-handling-example    文件:CustomErrorControllerConfiguration.java   
public CustomErrorControllerConfiguration(ServerProperties serverProperties,
    ObjectProvider<List<ErrorViewResolver>> errorViewResolversProvider) {
  this.serverProperties = serverProperties;
  this.errorViewResolvers = errorViewResolversProvider.getIfAvailable();
}
项目:spring-mvc-error-handling-example    文件:CustomErrorController.java   
public CustomErrorController(ErrorAttributes errorAttributes,
    ErrorProperties errorProperties,
    List<ErrorViewResolver> errorViewResolvers) {
  super(errorAttributes, errorProperties, errorViewResolvers);
}
项目:citrus-admin    文件:WebConfig.java   
@Bean
public ErrorViewResolver supportPathBasedLocationStrategyWithoutHashes() {
    return (HttpServletRequest req, HttpStatus status, Map<String, Object> model) -> status == HttpStatus.NOT_FOUND
            ? new ModelAndView("index.html", Collections.emptyMap(), HttpStatus.OK)
            : null;
}
项目:petclinic    文件:WebConfig.java   
@Bean
public ErrorViewResolver errorViewResolver() {
  return new MyErrorViewResolver();
}
项目:onetwo    文件:DataResultErrorController.java   
public DataResultErrorController(ErrorAttributes errorAttributes,
        ErrorProperties errorProperties,
        List<ErrorViewResolver> errorViewResolvers) {
    super(errorAttributes, errorProperties, errorViewResolvers);
}
项目:codekvast    文件:Html5ModeConfig.java   
@Bean
ErrorViewResolver supportPathBasedLocationStrategyWithoutHashes() {
    return (request, status, model) -> status == HttpStatus.NOT_FOUND
            ? new ModelAndView("index.html", Collections.emptyMap(), HttpStatus.OK)
            : null;
}