Builder

class Builder

A builder to create and configure an ArcGISHttpClient instance.

Since

200.2.0

See also

ArcGISHttpClient.builder

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Sets the cache to a cache with the provided maxSize and DEFAULT_HTTP_CACHE_LOCATION as the location.

fun cache(directory: File, maxSize: Long = DEFAULT_HTTP_CACHE_SIZE): ArcGISHttpClient.Builder

Sets the HTTP cache to a cache with the provided directory and maxSize.

Link copied to clipboard

Adds the provided Interceptor. This allows user code to intercept any network requests executed by the ArcGISHttpClient created with this builder. Interceptors will be invoked in the order they are added.