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, yumName
Methods inherited from class de.chojo.nexus.requests.RequestBuilder
parameter, path, path, uri
-
Constructor Details
-
DownloadRequest
-
-
Method Details
-
queue
Description copied from interface:Request
Queue the request asynchronous.- Specified by:
queue
in interfaceRequest<byte[]>
- Specified by:
queue
in classRequestBuilder<byte[]>
- Returns:
- completable future providing the response
-
complete
public byte[] complete()Description copied from interface:Request
Sends the request and handles the response on the current thread- Specified by:
complete
in interfaceRequest<byte[]>
- Specified by:
complete
in classRequestBuilder<byte[]>
- Returns:
- response
-