接口 HttpResponseChecker
-
public interface HttpResponseChecker是否成功校验- 作者:
- iotos
-
-
字段概要
字段 修饰符和类型 字段 说明 static HttpResponseCheckerDEFAULT默认实现, http status 200 <=code<300
-
-
-
字段详细资料
-
DEFAULT
static final HttpResponseChecker DEFAULT
默认实现, http status 200 <=code<300
-
-
方法详细资料
-
isSuccess
boolean isSuccess(HttpResponse response)
是否成功- 参数:
response- response- 返回:
- 成功 true,否则 false
-
desc
default String desc()
校验失败描述- 返回:
- 描述
-
-