java.lang.Object
com.alibaba.nacos.api.naming.pojo.healthcheck.AbstractHealthChecker
com.alibaba.nacos.api.naming.pojo.healthcheck.impl.Http
所有已实现的接口:
Serializable, Cloneable

public class Http extends AbstractHealthChecker
Implementation of health checker for HTTP.
作者:
yangyi
另请参阅:
序列化表格
  • 字段详细资料

  • 构造器详细资料

    • Http

      public Http()
  • 方法详细资料

    • getExpectedResponseCode

      public int getExpectedResponseCode()
    • setExpectedResponseCode

      public void setExpectedResponseCode(int expectedResponseCode)
    • getPath

      public String getPath()
    • setPath

      public void setPath(String path)
    • getHeaders

      public String getHeaders()
    • setHeaders

      public void setHeaders(String headers)
    • getCustomHeaders

      public Map<String,​String> getCustomHeaders()
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 Object
    • clone

      public Http clone() throws CloneNotSupportedException
      从类复制的说明: AbstractHealthChecker
      Clone all fields of this instance to another one.
      指定者:
      clone 在类中 AbstractHealthChecker
      返回:
      Another instance with exactly the same fields
      抛出:
      CloneNotSupportedException - clone not supported exception