Package se.michaelthelin.spotify
Class SpotifyHttpManager.Builder
java.lang.Object
se.michaelthelin.spotify.SpotifyHttpManager.Builder
- Enclosing class:
SpotifyHttpManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setCacheMaxEntries
(Integer cacheMaxEntries) setCacheMaxObjectSize
(Integer cacheMaxObjectSize) setCacheShared
(Boolean cacheShared) setConnectionManager
(org.apache.hc.client5.http.io.HttpClientConnectionManager connectionManager) setConnectionRequestTimeout
(Integer connectionRequestTimeout) setProxy
(org.apache.hc.core5.http.HttpHost proxy) setProxyCredentials
(org.apache.hc.client5.http.auth.UsernamePasswordCredentials proxyCredentials) setSocketTimeout
(Integer socketTimeout)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setConnectionManager
public SpotifyHttpManager.Builder setConnectionManager(org.apache.hc.client5.http.io.HttpClientConnectionManager connectionManager) -
setProxy
-
setProxyCredentials
public SpotifyHttpManager.Builder setProxyCredentials(org.apache.hc.client5.http.auth.UsernamePasswordCredentials proxyCredentials) -
setCacheMaxEntries
-
setCacheMaxObjectSize
-
setConnectionRequestTimeout
-
setSocketTimeout
-
build
-