Class TransportClient


  • public class TransportClient
    extends AbstractContainerClient

    Client which handles transport data fetching.

    Since:
    0.4.0
    • Constructor Detail

      • TransportClient

        public TransportClient()

        Default constructor. Initializes values and creates sub-clients.

      • TransportClient

        public TransportClient​(Locale locale)

        Overloaded constructor.

        Parameters:
        locale - the Locale for this client
    • Method Detail

      • registeredVehicles

        public TransportRegisteredVehiclesClient registeredVehicles()

        Retrieve the client for interacting with transport registered vehicles data.

        Returns:
        a client for transport registered vehicles data
      • getUrl

        public URLEndpoint getUrl()
        Description copied from class: AbstractClient

        Returns the URL endpoint which this client represents.

        Specified by:
        getUrl in class AbstractClient
        Returns:
        the URL endpoint for this client