Class Connection.ConnectionBuilder<G extends GsonFactoryBase, C extends Connection<G>, B extends Connection.ConnectionBuilder<G,C,B>  >
java.lang.Object
com.amilesend.client.connection.Connection.ConnectionBuilder<G,C,B>  
- Enclosing class:
- Connection<G extends GsonFactoryBase>
public abstract static class Connection.ConnectionBuilder<G extends GsonFactoryBase, C extends Connection<G>, B extends Connection.ConnectionBuilder<G,C,B>>  
extends Object
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionauthManager(@NonNull AuthManager<?> authManager) The authorization manager used to authenticate and sign requests.The base URL for the Graph API.abstract Cbuild()gsonFactory(G gsonFactory) The Gson factory used to create GSON instance that marshals request and responses to/from JSON.httpClient(@NonNull okhttp3.OkHttpClient httpClient) The underlying http client.isGzipContentEncodingEnabled(boolean isGzipContentEncodingEnabled) toString()The user agent to include in request headers.
- 
Constructor Details- 
ConnectionBuilderpublic ConnectionBuilder()
 
- 
- 
Method Details- 
httpClientThe underlying http client.- Returns:
- this.
 
- 
gsonFactory
- 
authManagerThe authorization manager used to authenticate and sign requests.- Returns:
- this.
 
- 
baseUrl
- 
userAgent
- 
isGzipContentEncodingEnabled- Returns:
- this.
 
- 
build
- 
toString
 
-