Interface HttpOperation<T>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Functional interface for HTTP operations that can be retried using the result pattern.

Operations return HttpResultObject which encapsulates both success and failure states, eliminating the need for exception-based error handling in the retry infrastructure.

  • Method Summary

    Modifier and Type
    Method
    Description
    Executes the HTTP operation using the result pattern.
  • Method Details

    • execute

      Executes the HTTP operation using the result pattern.
      Returns:
      HttpResultObject containing the operation result or error details