com.descope.proxy.ApiProxy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java library used to integrate with Descope.
package com.descope.proxy;
import com.fasterxml.jackson.core.type.TypeReference;
import java.net.URI;
public interface ApiProxy {
R get(URI uri, Class returnClz);
R getArray(URI uri, TypeReference typeReference);
R post(URI uri, B body, Class returnClz);
R patch(URI uri, B body, Class returnClz);
R postAndGetArray(URI uri, B body, TypeReference typeReference);
R delete(URI uri, B body, Class returnClz);
}