public static class AbstractHealthChecker.Http extends AbstractHealthChecker
AbstractHealthChecker.Http, AbstractHealthChecker.Mysql, 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 |
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 AbstractHealthChecker.Http clone() throws CloneNotSupportedException
AbstractHealthCheckerclone in class AbstractHealthCheckerCloneNotSupportedExceptionCopyright © 2018 Alibaba Group. All rights reserved.