com.ecwid.consul.transport
Class RawResponse

java.lang.Object
  extended by com.ecwid.consul.transport.RawResponse

public final class RawResponse
extends java.lang.Object


Constructor Summary
RawResponse(int statusCode, java.lang.String statusMessage, java.lang.String content, java.lang.Long consulIndex, java.lang.Boolean consulKnownLeader, java.lang.Long consulLastContact)
           
 
Method Summary
 java.lang.Long getConsulIndex()
           
 java.lang.Long getConsulLastContact()
           
 java.lang.String getContent()
           
 int getStatusCode()
           
 java.lang.String getStatusMessage()
           
 java.lang.Boolean isConsulKnownLeader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawResponse

public RawResponse(int statusCode,
                   java.lang.String statusMessage,
                   java.lang.String content,
                   java.lang.Long consulIndex,
                   java.lang.Boolean consulKnownLeader,
                   java.lang.Long consulLastContact)
Method Detail

getStatusCode

public int getStatusCode()

getStatusMessage

public java.lang.String getStatusMessage()

getContent

public java.lang.String getContent()

getConsulIndex

public java.lang.Long getConsulIndex()

isConsulKnownLeader

public java.lang.Boolean isConsulKnownLeader()

getConsulLastContact

public java.lang.Long getConsulLastContact()