Package com.autoliv.datalogger.client

Clients for accessing different endpoints

Types

Link copied to clipboard
class BlobClient(val client: HttpClient)

Client to access blob related functionalities

Link copied to clipboard
class CampaignClient(val client: HttpClient)

Client to access campaign related functionalities

Link copied to clipboard
open class ClientErrorException(    response: HttpResponse,     responseText: String,     cause: Throwable? = null) : DataloggerClientResponseException

Exception when the response denotes an error on the user side

Link copied to clipboard
class DataloggerClient(    val subscriptionName: String,     val subscriptionKey: String,     val urlString: String = DEFAULT_URL,     val engine: HttpClientEngine? = null)

Client to access the functionalities of the cloud-base logger

Link copied to clipboard
open class DataloggerClientException(message: String?, cause: Throwable? = null) : Exception

Base exception for all exception from the Datalogger client

Link copied to clipboard
open class DataloggerClientResponseException(    response: HttpResponse,     responseText: String,     cause: Throwable? = null) : DataloggerClientException

Base exception for all response related exception from the Datalogger client

Link copied to clipboard
class DeviceClient(val client: HttpClient)

Client to access device related functionalities

Link copied to clipboard
class EventClient(val client: HttpClient)

Client to access event related functionalities

Link copied to clipboard
open class ForbiddenException(    response: HttpResponse,     responseText: String,     cause: Throwable? = null) : DataloggerClientResponseException

Exception when the user does not have access to the requested resources

Link copied to clipboard
open class RedirectionException(    response: HttpResponse,     responseText: String,     cause: Throwable? = null) : DataloggerClientResponseException

Exception when the response received refers to a redirect

Link copied to clipboard
open class ResourceNotFoundException(    response: HttpResponse,     responseText: String,     cause: Throwable? = null) : DataloggerClientResponseException

Exception when requested resource cannot be found

Link copied to clipboard
open class ServerErrorException(    response: HttpResponse,     responseText: String,     cause: Throwable? = null) : DataloggerClientResponseException

Exception when the response denotes that there is error on the server side

Link copied to clipboard
class TripClient(val client: HttpClient)

Client to access trip related functionalities

Link copied to clipboard
class UserClient(val client: HttpClient)

Client to access user related functionalities

Link copied to clipboard
class VehicleClient(val client: HttpClient)

Client to access vehicle related functionalities