io.quarkus.vault.runtime.client.VaultClient Maven / Gradle / Ivy
package io.quarkus.vault.runtime.client;
import java.util.Map;
public interface VaultClient {
String X_VAULT_TOKEN = "X-Vault-Token";
String X_VAULT_NAMESPACE = "X-Vault-Namespace";
String API_VERSION = "v1";
T put(String path, String token, Object body, int expectedCode);
T list(String path, String token, Class resultClass);
T delete(String path, String token, int expectedCode);
T post(String path, String token, Object body, Class resultClass, int expectedCode);
T post(String path, String token, Object body, Class resultClass);
T post(String path, String token, Map headers, Object body, Class resultClass);
T post(String path, String token, Object body, int expectedCode);
T put(String path, String token, Object body, Class resultClass);
T put(String path, Object body, Class resultClass);
T get(String path, String token, Class resultClass);
T get(String path, Map queryParams, Class resultClass);
int head(String path);
int head(String path, Map queryParams);
void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy