Interface ServiceEndpoint

  • All Known Implementing Classes:
    DefaultServiceEndpoint

    public interface ServiceEndpoint
    Endpoint config used to build clients.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getBaseUrl()
      Base API url
      java.util.Map<java.lang.String,​java.lang.String> getConfig()
      Misc.
      java.lang.String getName()
      Name of the service
      boolean isSecure()
      Indicates whether the certificate/host verification is desired or not
      boolean isUseDefaultSslSocketFactory()
      Indicates whether to use system default or wire up the app supplied truststore and keystore.
    • Method Detail

      • getName

        @Nonnull
        java.lang.String getName()
        Name of the service
      • getBaseUrl

        @Nonnull
        java.lang.String getBaseUrl()
        Base API url
      • getConfig

        @Nonnull
        java.util.Map<java.lang.String,​java.lang.String> getConfig()
        Misc. config necessary for the service client.
      • isSecure

        boolean isSecure()
        Indicates whether the certificate/host verification is desired or not
      • isUseDefaultSslSocketFactory

        boolean isUseDefaultSslSocketFactory()
        Indicates whether to use system default or wire up the app supplied truststore and keystore.