Package org.springframework.credhub.core
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 TypeMethodDescriptiondoWithRestOperations(RestOperations restOperations) Callback method providing aRestOperationsthat is configured to interact with the CredHub server.
-
Method Details
-
doWithRestOperations
Callback method providing aRestOperationsthat 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.
-