@Bean public ErrorViewResolver pac4jErrorViewResolver() { return new Pac4jErrorViewResolver(); }
public CrnkErrorController(ErrorAttributes errorAttributes, ErrorProperties errorProperties, List<ErrorViewResolver> errorViewResolvers) { super(errorAttributes, errorProperties, errorViewResolvers); }
public CrnkErrorControllerAutoConfiguration(ServerProperties serverProperties, ObjectProvider<List<ErrorViewResolver>> errorViewResolversProvider) { this.serverProperties = serverProperties; this.errorViewResolvers = errorViewResolversProvider.getIfAvailable(); }
public CustomErrorControllerConfiguration(ServerProperties serverProperties, ObjectProvider<List<ErrorViewResolver>> errorViewResolversProvider) { this.serverProperties = serverProperties; this.errorViewResolvers = errorViewResolversProvider.getIfAvailable(); }
public CustomErrorController(ErrorAttributes errorAttributes, ErrorProperties errorProperties, List<ErrorViewResolver> errorViewResolvers) { super(errorAttributes, errorProperties, errorViewResolvers); }
@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; }
@Bean public ErrorViewResolver errorViewResolver() { return new MyErrorViewResolver(); }
public DataResultErrorController(ErrorAttributes errorAttributes, ErrorProperties errorProperties, List<ErrorViewResolver> errorViewResolvers) { super(errorAttributes, errorProperties, errorViewResolvers); }
@Bean ErrorViewResolver supportPathBasedLocationStrategyWithoutHashes() { return (request, status, model) -> status == HttpStatus.NOT_FOUND ? new ModelAndView("index.html", Collections.emptyMap(), HttpStatus.OK) : null; }