public static class AbstractHealthChecker.Http extends AbstractHealthChecker
AbstractHealthChecker.Http, AbstractHealthChecker.Mysql, AbstractHealthChecker.None, AbstractHealthChecker.Tcp| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE |
type| Constructor and Description |
|---|
Http() |
| Modifier and Type | Method and Description |
|---|---|
AbstractHealthChecker.Http |
clone()
Clone all fields of this instance to another one
|
boolean |
equals(Object obj) |
Map<String,String> |
getCustomHeaders() |
int |
getExpectedResponseCode() |
String |
getHeaders() |
String |
getPath() |
int |
hashCode() |
void |
jsonAdapterCallback(com.alibaba.fastjson.serializer.SerializeWriter writer)
used to JsonAdapter
|
void |
setExpectedResponseCode(int expectedResponseCode) |
void |
setHeaders(String headers) |
void |
setPath(String path) |
getType, setTypepublic static final String TYPE
public int getExpectedResponseCode()
public void setExpectedResponseCode(int expectedResponseCode)
public String getPath()
public void setPath(String path)
public String getHeaders()
public void setHeaders(String headers)
public void jsonAdapterCallback(com.alibaba.fastjson.serializer.SerializeWriter writer)
jsonAdapterCallback in class AbstractHealthCheckerwriter - public AbstractHealthChecker.Http clone() throws CloneNotSupportedException
AbstractHealthCheckerclone in class AbstractHealthCheckerCloneNotSupportedExceptionCopyright © 2018–2019 Alibaba Group. All rights reserved.