Interface RestOperationsCallback<T>

Type Parameters:
T - the type of CredHub credential

public interface RestOperationsCallback<T>
A callback for executing arbitrary operations on RestOperations.
Author:
Mark Paluch
  • Method Summary

    Modifier and Type
    Method
    Description
    Callback method providing a RestOperations that is configured to interact with the CredHub server.
  • Method Details

    • doWithRestOperations

      T doWithRestOperations(RestOperations restOperations)
      Callback method providing a RestOperations that is configured to interact with the CredHub server.
      Parameters:
      restOperations - restOperations to use, must not be null.
      Returns:
      a result object or null if none.