Class Result.Detail

java.lang.Object
com.yahoo.vespa.http.client.Result.Detail
Enclosing class:
Result

public static final class Result.Detail extends Object
Information in a Result for a single operation sent to a single endpoint.
  • Constructor Details

  • Method Details

    • getEndpoint

      public Endpoint 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

      public Result.ResultType getResultType()
      Returns the result of the operation
    • getException

      public Exception getException()
      Returns any exception related to this Detail, if unsuccessful. Might be null.
    • getTraceMessage

      public String getTraceMessage()
      Returns any trace message produces, or null if none
    • toString

      public String toString()
      Overrides:
      toString in class Object