Interface ArtifactUrlResolver
- All Known Implementing Classes:
PropertyBasedArtifactUrlResolver
public interface ArtifactUrlResolver
Interface declaration of the
ArtifactUrlResolver which generates the URLs to specific artifacts.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumhawkBit API type.static final recordContainer for variables available to theArtifactUrlResolver. -
Method Summary
Modifier and TypeMethodDescriptiongetUrls(ArtifactUrlResolver.DownloadDescriptor downloadDescriptor, ArtifactUrlResolver.ApiType api) Returns a generated download URL for a given artifact parameters for a specific protocol.getUrls(ArtifactUrlResolver.DownloadDescriptor downloadDescriptor, ArtifactUrlResolver.ApiType api, URI requestUri) Returns a generated download URL for a given artifact parameters for a specific protocol.
-
Method Details
-
getUrls
List<ArtifactUrl> getUrls(ArtifactUrlResolver.DownloadDescriptor downloadDescriptor, ArtifactUrlResolver.ApiType api) Returns a generated download URL for a given artifact parameters for a specific protocol.- Parameters:
downloadDescriptor- data for URL generationapi- given protocol that URL needs to support- Returns:
- a URL for the given artifact parameters in a given protocol
-
getUrls
List<ArtifactUrl> getUrls(ArtifactUrlResolver.DownloadDescriptor downloadDescriptor, ArtifactUrlResolver.ApiType api, URI requestUri) Returns a generated download URL for a given artifact parameters for a specific protocol.- Parameters:
downloadDescriptor- data for URL generationapi- given protocol that URL needs to supportrequestUri- of the request that allows the handler to align the generated URL to the original request.- Returns:
- a URL for the given artifact parameters in a given protocol
-