Package com.wrapper.spotify
Class SpotifyHttpManager.Builder
java.lang.Object
com.wrapper.spotify.SpotifyHttpManager.Builder
- Enclosing class:
- SpotifyHttpManager
public static class SpotifyHttpManager.Builder extends Object
-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description SpotifyHttpManagerbuild()SpotifyHttpManager.BuildersetCacheMaxEntries(Integer cacheMaxEntries)SpotifyHttpManager.BuildersetCacheMaxObjectSize(Integer cacheMaxObjectSize)SpotifyHttpManager.BuildersetConnectionRequestTimeout(Integer connectionRequestTimeout)SpotifyHttpManager.BuildersetConnectTimeout(Integer connectTimeout)SpotifyHttpManager.BuildersetProxy(org.apache.hc.core5.http.HttpHost proxy)SpotifyHttpManager.BuildersetProxyCredentials(org.apache.hc.client5.http.auth.UsernamePasswordCredentials proxyCredentials)SpotifyHttpManager.BuildersetSocketTimeout(Integer socketTimeout)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setProxy
-
setProxyCredentials
public SpotifyHttpManager.Builder setProxyCredentials(org.apache.hc.client5.http.auth.UsernamePasswordCredentials proxyCredentials) -
setCacheMaxEntries
-
setCacheMaxObjectSize
-
setConnectionRequestTimeout
-
setConnectTimeout
-
setSocketTimeout
-
build
-