@Override
public ErrorData getErrorData(T ex, HttpServletRequest request, HttpStatus responseHttpStatus, ErrorAttributes errorAttributes, RequestAttributes requestAttributes) {
String requestUri = getRequestUri(errorAttributes, requestAttributes);
return buildErrorData(ex, responseHttpStatus)
.withRequestMethod(request.getMethod())
.withRequestUri(requestUri)
.build();
}
HttpClientErrorDataProvider.java 文件源码
java
阅读 33
收藏 0
点赞 0
评论 0
项目:errorest-spring-boot-starter
作者:
评论列表
文章目录