com.obatis.config.response.result.FailBackResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of obatis-web Show documentation
Show all versions of obatis-web Show documentation
obatis-web, apply web project
package com.obatis.config.response.result;
import com.obatis.constant.http.ResponseDefaultErrorCode;
import com.obatis.constant.http.ResponseDefaultErrorStatus;
/**
* 微服务请求熔断回调结果集处理
* @author HuangLongPu
*/
public class FailBackResponse {
protected FailBackResponse(){}
public static final ResultResponse RESULT = new ResultResponse();
static {
RESULT.setCode(ResponseDefaultErrorStatus.FAIL_BACK_ERROR_STATUS);
RESULT.setMessage("请求错误,检查网络情况");
RESULT.setErrorCode(ResponseDefaultErrorCode.NETWORK_ERROR_CODE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy