Class SimpleHttpArtifactCredentials<T extends ArtifactAccount>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SimpleHttpArtifactCredentials​(com.squareup.okhttp.OkHttpClient okHttpClient, T account)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.InputStream download​(com.netflix.spinnaker.kork.artifacts.model.Artifact artifact)  
      protected com.squareup.okhttp.HttpUrl getDownloadUrl​(com.netflix.spinnaker.kork.artifacts.model.Artifact artifact)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleHttpArtifactCredentials

        protected SimpleHttpArtifactCredentials​(com.squareup.okhttp.OkHttpClient okHttpClient,
                                                T account)
    • Method Detail

      • getDownloadUrl

        protected com.squareup.okhttp.HttpUrl getDownloadUrl​(com.netflix.spinnaker.kork.artifacts.model.Artifact artifact)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • download

        public final java.io.InputStream download​(com.netflix.spinnaker.kork.artifacts.model.Artifact artifact)
                                           throws java.io.IOException
        Throws:
        java.io.IOException