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
All Methods Instance Methods Concrete Methods 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.http.HttpHost proxy)SpotifyHttpManager.BuildersetProxyCredentials(org.apache.http.auth.UsernamePasswordCredentials proxyCredentials)SpotifyHttpManager.BuildersetSocketTimeout(Integer socketTimeout)
-
-
-
Method Detail
-
setProxy
public SpotifyHttpManager.Builder setProxy(org.apache.http.HttpHost proxy)
-
setProxyCredentials
public SpotifyHttpManager.Builder setProxyCredentials(org.apache.http.auth.UsernamePasswordCredentials proxyCredentials)
-
setCacheMaxEntries
public SpotifyHttpManager.Builder setCacheMaxEntries(Integer cacheMaxEntries)
-
setCacheMaxObjectSize
public SpotifyHttpManager.Builder setCacheMaxObjectSize(Integer cacheMaxObjectSize)
-
setConnectionRequestTimeout
public SpotifyHttpManager.Builder setConnectionRequestTimeout(Integer connectionRequestTimeout)
-
setConnectTimeout
public SpotifyHttpManager.Builder setConnectTimeout(Integer connectTimeout)
-
setSocketTimeout
public SpotifyHttpManager.Builder setSocketTimeout(Integer socketTimeout)
-
build
public SpotifyHttpManager build()
-
-