Class BaseHttpArtifactCredentials<T extends ArtifactAccount>
- java.lang.Object
-
- com.netflix.spinnaker.clouddriver.artifacts.config.BaseHttpArtifactCredentials<T>
-
- Direct Known Subclasses:
HelmArtifactCredentials,SimpleHttpArtifactCredentials
public abstract class BaseHttpArtifactCredentials<T extends ArtifactAccount> extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseHttpArtifactCredentials(com.squareup.okhttp.OkHttpClient okHttpClient, T account)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.squareup.okhttp.ResponseBodyfetchUrl(com.squareup.okhttp.HttpUrl url)protected com.squareup.okhttp.ResponseBodyfetchUrl(java.lang.String url)protected com.squareup.okhttp.HeadersgetHeaders(T account)protected com.squareup.okhttp.HttpUrlparseUrl(java.lang.String stringUrl)
-
-
-
Constructor Detail
-
BaseHttpArtifactCredentials
protected BaseHttpArtifactCredentials(com.squareup.okhttp.OkHttpClient okHttpClient, T account)
-
-
Method Detail
-
getHeaders
protected com.squareup.okhttp.Headers getHeaders(T account)
-
parseUrl
protected com.squareup.okhttp.HttpUrl parseUrl(java.lang.String stringUrl)
-
fetchUrl
protected com.squareup.okhttp.ResponseBody fetchUrl(java.lang.String url) throws java.io.IOException- Throws:
java.io.IOException
-
fetchUrl
protected com.squareup.okhttp.ResponseBody fetchUrl(com.squareup.okhttp.HttpUrl url) throws java.io.IOException- Throws:
java.io.IOException
-
-