Class DownloadRequest
java.lang.Object
de.chojo.nexus.requests.RequestBuilder<T>
de.chojo.nexus.requests.v1.search.ASearchRequest<DownloadRequest,byte[]>
de.chojo.nexus.requests.v1.search.assets.DownloadRequest
- All Implemented Interfaces:
Request<byte[]>
-
Field Summary
Fields inherited from class de.chojo.nexus.requests.RequestBuilder
rest -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]complete()Sends the request and handles the response on the current threadCompletableFuture<byte[]>queue()Queue the request asynchronous.Methods inherited from class de.chojo.nexus.requests.v1.search.ASearchRequest
conanBaseVersion, conanChannel, conanRevision, continuationToken, direction, dockerContentDigest, dockerImageName, dockerImageTag, dockerLayerId, format, gavec, group, mavenArtifactId, mavenBaseVersion, mavenClassifier, mavenExtension, mavenGroupId, md5, name, npmAuthor, npmDescription, npmKeywords, npmLicense, npmScope, npmTaggedIs, npmTaggedNot, nugetAuthors, nugetDescription, nugetId, nugetSummary, nugetTags, nugetTitle, p2PluginName, prerelease, pypiClassifiers, pypiDescription, pypiKeywords, pypiSummary, query, repository, rubygemsDescription, rubygemsPlatform, rubygemsSummary, sha1, sha256, sha512, sort, timeout, version, yumArchitecture, yumNameMethods inherited from class de.chojo.nexus.requests.RequestBuilder
parameter, path, path, uri
-
Constructor Details
-
DownloadRequest
-
-
Method Details
-
queue
Description copied from interface:RequestQueue the request asynchronous.- Specified by:
queuein interfaceRequest<byte[]>- Specified by:
queuein classRequestBuilder<byte[]>- Returns:
- completable future providing the response
-
complete
public byte[] complete()Description copied from interface:RequestSends the request and handles the response on the current thread- Specified by:
completein interfaceRequest<byte[]>- Specified by:
completein classRequestBuilder<byte[]>- Returns:
- response
-