java.lang.Object
com.alibaba.nacos.api.naming.pojo.healthcheck.AbstractHealthChecker
com.alibaba.nacos.api.naming.pojo.healthcheck.impl.Http
- 所有已实现的接口:
Serializable,Cloneable
Implementation of health checker for HTTP.
- 作者:
- yangyi
- 另请参阅:
- 序列化表格
-
嵌套类概要
从类继承的嵌套类/接口 com.alibaba.nacos.api.naming.pojo.healthcheck.AbstractHealthChecker
AbstractHealthChecker.None -
字段概要
字段从类继承的字段 com.alibaba.nacos.api.naming.pojo.healthcheck.AbstractHealthChecker
type -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clone()Clone all fields of this instance to another one.booleanintgetPath()inthashCode()voidsetExpectedResponseCode(int expectedResponseCode)voidsetHeaders(String headers)void从类继承的方法 com.alibaba.nacos.api.naming.pojo.healthcheck.AbstractHealthChecker
getType
-
字段详细资料
-
TYPE
- 另请参阅:
- 常量字段值
-
-
构造器详细资料
-
Http
public Http()
-
-
方法详细资料
-
getExpectedResponseCode
public int getExpectedResponseCode() -
setExpectedResponseCode
public void setExpectedResponseCode(int expectedResponseCode) -
getPath
-
setPath
-
getHeaders
-
setHeaders
-
getCustomHeaders
-
hashCode
public int hashCode() -
equals
-
clone
从类复制的说明:AbstractHealthCheckerClone all fields of this instance to another one.- 指定者:
clone在类中AbstractHealthChecker- 返回:
- Another instance with exactly the same fields
- 抛出:
CloneNotSupportedException- clone not supported exception
-