public abstract class MapboxDirectionsRefresh extends com.mapbox.core.MapboxService<com.mapbox.api.directionsrefresh.v1.models.DirectionsRefreshResponse,DirectionsRefreshService>
| Modifier and Type | Class and Description |
|---|---|
static class |
MapboxDirectionsRefresh.Builder
This builder is used to build a new request to the Mapbox Directions Refresh API.
|
| Modifier | Constructor and Description |
|---|---|
protected |
MapboxDirectionsRefresh() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
baseUrl() |
static MapboxDirectionsRefresh.Builder |
builder()
Build a new
MapboxDirectionsRefresh builder with default initial values. |
protected com.google.gson.GsonBuilder |
getGsonBuilder() |
protected okhttp3.OkHttpClient |
getOkHttpClient() |
protected retrofit2.Call<com.mapbox.api.directionsrefresh.v1.models.DirectionsRefreshResponse> |
initializeCall() |
abstract MapboxDirectionsRefresh.Builder |
toBuilder()
Convert the current
MapboxDirectionsRefresh to its builder holding the currently
assigned values. |
protected retrofit2.Call<com.mapbox.api.directionsrefresh.v1.models.DirectionsRefreshResponse> initializeCall()
initializeCall in class com.mapbox.core.MapboxService<com.mapbox.api.directionsrefresh.v1.models.DirectionsRefreshResponse,DirectionsRefreshService>protected okhttp3.OkHttpClient getOkHttpClient()
getOkHttpClient in class com.mapbox.core.MapboxService<com.mapbox.api.directionsrefresh.v1.models.DirectionsRefreshResponse,DirectionsRefreshService>@NonNull protected abstract java.lang.String baseUrl()
baseUrl in class com.mapbox.core.MapboxService<com.mapbox.api.directionsrefresh.v1.models.DirectionsRefreshResponse,DirectionsRefreshService>protected com.google.gson.GsonBuilder getGsonBuilder()
getGsonBuilder in class com.mapbox.core.MapboxService<com.mapbox.api.directionsrefresh.v1.models.DirectionsRefreshResponse,DirectionsRefreshService>public abstract MapboxDirectionsRefresh.Builder toBuilder()
MapboxDirectionsRefresh to its builder holding the currently
assigned values. This allows you to modify a single property and then rebuild the object
resulting in an updated and modified MapboxDirectionsRefresh.MapboxDirectionsRefresh.Builder with the same valuespublic static MapboxDirectionsRefresh.Builder builder()
MapboxDirectionsRefresh builder with default initial values.MapboxDirectionsRefresh.Builder for creating a default MapboxDirectionsRefresh