Class BaseHttpArtifactCredentials<T extends ArtifactAccount>

    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.squareup.okhttp.ResponseBody fetchUrl​(com.squareup.okhttp.HttpUrl url)  
      protected com.squareup.okhttp.ResponseBody fetchUrl​(java.lang.String url)  
      protected com.squareup.okhttp.Headers getHeaders​(T account)  
      protected com.squareup.okhttp.HttpUrl parseUrl​(java.lang.String stringUrl)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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