Package ai.spice

Class Config

java.lang.Object
ai.spice.Config

public class Config extends Object
Provides default configuration for Spice client.
  • Field Details

    • CLOUD_FLIGHT_ADDRESS

      public static final String CLOUD_FLIGHT_ADDRESS
      Cloud flight address
    • LOCAL_FLIGHT_ADDRESS

      public static final String LOCAL_FLIGHT_ADDRESS
      Local flight address
    • CLOUD_HTTP_ADDRESS

      public static final String CLOUD_HTTP_ADDRESS
      Cloud HTTP address
    • LOCAL_HTTP_ADDRESS

      public static final String LOCAL_HTTP_ADDRESS
      Local HTTP address
  • Constructor Details

    • Config

      public Config()
  • Method Details

    • getLocalFlightAddressUri

      public static URI getLocalFlightAddressUri() throws URISyntaxException
      Returns the local flight address
      Returns:
      URI of the local flight address.
      Throws:
      URISyntaxException - if the string could not be parsed as a URI.
    • getCloudFlightAddressUri

      public static URI getCloudFlightAddressUri() throws URISyntaxException
      Returns the cloud flight address
      Returns:
      URI of the cloud flight address.
      Throws:
      URISyntaxException - if the string could not be parsed as a URI.
    • getLocalHttpAddressUri

      public static URI getLocalHttpAddressUri() throws URISyntaxException
      Returns the local HTTP address
      Returns:
      URI of the local HTTP address.
      Throws:
      URISyntaxException - if the string could not be parsed as a URI.
    • getCloudHttpAddressUri

      public static URI getCloudHttpAddressUri() throws URISyntaxException
      Returns the cloud HTTP address
      Returns:
      URI of the cloud HTTP address.
      Throws:
      URISyntaxException - if the string could not be parsed as a URI.