public static class MultiPercolateResponse.Item extends java.lang.Object implements Streamable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage() |
java.lang.Exception |
getFailure() |
PercolateResponse |
getResponse() |
boolean |
isFailure() |
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
@Nullable public PercolateResponse getResponse()
null
if there was error.@Nullable public java.lang.String getErrorMessage()
null
if the percolate request was successfulpublic boolean isFailure()
true
if the percolator request that this item represents failed otherwise
false
is returned.public java.lang.Exception getFailure()
public void readFrom(StreamInput in) throws java.io.IOException
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
writeTo
in interface Streamable
java.io.IOException