Package com.yahoo.vespa.http.client
Class Result.Detail
java.lang.Object
com.yahoo.vespa.http.client.Result.Detail
- Enclosing class:
- Result
Information in a Result for a single operation sent to a single endpoint.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the endpoint from which the result was received, or null if this failed before being assigned an endpointReturns any exception related to this Detail, if unsuccessful.Returns the result of the operationReturns any trace message produces, or null if noneboolean
Returns whether the operation was successfultoString()
-
Constructor Details
-
Detail
-
Detail
-
-
Method Details
-
getEndpoint
Returns the endpoint from which the result was received, or null if this failed before being assigned an endpoint -
isSuccess
public boolean isSuccess()Returns whether the operation was successful -
getResultType
Returns the result of the operation -
getException
Returns any exception related to this Detail, if unsuccessful. Might be null. -
getTraceMessage
Returns any trace message produces, or null if none -
toString
-