public class BintrayEndpoint
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
BintrayEndpoint.ExceptionHandler<E extends java.lang.Throwable> |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BINTRAY_API_URL |
Constructor and Description |
---|
BintrayEndpoint() |
Modifier and Type | Method and Description |
---|---|
<Data,E extends java.lang.Throwable> |
executeRequest(java.lang.String url,
java.lang.Class<Data> responseDataClass,
ThrowableConsumer<Data,java.io.IOException> responseHandler,
BintrayEndpoint.ExceptionHandler<E> exceptionHandler,
java.util.function.DoubleConsumer progressHandler) |
java.util.List<RepositoryArtifactDescription> |
getArtifacts(java.lang.String subject,
java.lang.String repo,
java.lang.String className) |
java.util.List<RepositoryArtifactDescription> |
getArtifacts(java.lang.String subject,
java.lang.String repo,
java.lang.String groupIdTemplate,
java.lang.String artifactIdTemplate) |
java.util.List<RemoteRepositoryDescription> |
getRepositories(java.lang.String subject) |
RemoteRepositoryDescription |
getRepository(java.lang.String subject,
java.lang.String repo) |
public static final java.lang.String BINTRAY_API_URL
public RemoteRepositoryDescription getRepository(java.lang.String subject, java.lang.String repo) throws java.io.IOException
java.io.IOException
public java.util.List<RemoteRepositoryDescription> getRepositories(java.lang.String subject) throws java.io.IOException
java.io.IOException
public java.util.List<RepositoryArtifactDescription> getArtifacts(java.lang.String subject, java.lang.String repo, java.lang.String className)
public java.util.List<RepositoryArtifactDescription> getArtifacts(java.lang.String subject, java.lang.String repo, java.lang.String groupIdTemplate, java.lang.String artifactIdTemplate) throws java.io.IOException
java.io.IOException
public <Data,E extends java.lang.Throwable> void executeRequest(java.lang.String url, java.lang.Class<Data> responseDataClass, ThrowableConsumer<Data,java.io.IOException> responseHandler, BintrayEndpoint.ExceptionHandler<E> exceptionHandler, java.util.function.DoubleConsumer progressHandler) throws java.io.IOException, E extends java.lang.Throwable
java.io.IOException
E extends java.lang.Throwable