Class ConnectionBuilder<B extends ConnectionBuilder, G extends GsonFactoryBase, C extends Connection<G>>
java.lang.Object
com.amilesend.client.connection.ConnectionBuilder<B,G,C>  
- Direct Known Subclasses:
- DefaultConnectionBuilder
public abstract class ConnectionBuilder<B extends ConnectionBuilder, G extends GsonFactoryBase, C extends Connection<G>>
extends Object
Builder to construct new default instances of a 
Connection.- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intThe max length of the base URL.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionauthManager(AuthManager<?> authManager) abstract Cbuild()gsonFactory(G gsonFactory) httpClient(okhttp3.OkHttpClient httpClient) isGzipContentEncodingEnabled(boolean isGzipContentEncodingEnabled) 
- 
Field Details- 
MAX_BASE_URL_STR_LENGTHpublic static final int MAX_BASE_URL_STR_LENGTHThe max length of the base URL.- See Also:
 
 
- 
- 
Constructor Details- 
ConnectionBuilderpublic ConnectionBuilder()
 
- 
- 
Method Details- 
httpClient
- 
gsonFactory
- 
authManager
- 
baseUrl
- 
userAgent
- 
isGzipContentEncodingEnabled
- 
build
 
-