Package org.springframework.vault.core
Interface RestOperationsCallback<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback for executing arbitrary operations on
RestOperations
.- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptiondoWithRestOperations
(RestOperations restOperations) Callback method.
-
Method Details
-
doWithRestOperations
Callback method.- Parameters:
restOperations
- restOperations to use, must not be null.- Returns:
- a result object or null if none.
-