Package org.elasticsearch.http
Class HttpPipelinedResponse
java.lang.Object
org.elasticsearch.http.HttpPipelinedResponse
- All Implemented Interfaces:
java.lang.Comparable<HttpPipelinedMessage>
,HttpPipelinedMessage
,HttpResponse
public class HttpPipelinedResponse extends java.lang.Object implements HttpPipelinedMessage, HttpResponse
-
Constructor Summary
Constructors Constructor Description HttpPipelinedResponse(int sequence, HttpResponse delegate)
-
Method Summary
Modifier and Type Method Description void
addHeader(java.lang.String name, java.lang.String value)
boolean
containsHeader(java.lang.String name)
HttpResponse
getDelegateRequest()
int
getSequence()
Get the sequence number for this message.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.http.HttpPipelinedMessage
compareTo
-
Constructor Details
-
HttpPipelinedResponse
-
-
Method Details
-
getSequence
public int getSequence()Description copied from interface:HttpPipelinedMessage
Get the sequence number for this message.- Specified by:
getSequence
in interfaceHttpPipelinedMessage
- Returns:
- the sequence number
-
addHeader
public void addHeader(java.lang.String name, java.lang.String value)- Specified by:
addHeader
in interfaceHttpResponse
-
containsHeader
public boolean containsHeader(java.lang.String name)- Specified by:
containsHeader
in interfaceHttpResponse
-
getDelegateRequest
-