public final class HttpResponse
extends java.lang.Object
| Constructor and Description |
|---|
HttpResponse(int statusCode,
java.lang.String statusMessage,
java.lang.String content,
java.lang.Long consulIndex,
java.lang.Boolean consulKnownLeader,
java.lang.Long consulLastContact) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getConsulIndex() |
java.lang.Long |
getConsulLastContact() |
java.lang.String |
getContent() |
int |
getStatusCode() |
java.lang.String |
getStatusMessage() |
java.lang.Boolean |
isConsulKnownLeader() |
public HttpResponse(int statusCode,
java.lang.String statusMessage,
java.lang.String content,
java.lang.Long consulIndex,
java.lang.Boolean consulKnownLeader,
java.lang.Long consulLastContact)
public int getStatusCode()
public java.lang.String getStatusMessage()
public java.lang.String getContent()
public java.lang.Long getConsulIndex()
public java.lang.Boolean isConsulKnownLeader()
public java.lang.Long getConsulLastContact()