Interface SystemUserAgent

  • All Known Implementing Classes:
    DefaultSystemUserAgent

    @ThreadSafe
    public interface SystemUserAgent
    Common system level user agent properties that can either be accessed as a string or as individual values. The former is useful when making generic calls, for instance to local endpoints when resolving identity, while the latter is when incorporating this information into a user agent header in an SDK request.
    • Method Detail

      • userAgentString

        String userAgentString()
        A generic user agent string to be used when communicating with backend services. This string contains Java, OS and region information but does not contain client and request specific values.
      • sdkVersion

        String sdkVersion()
      • osMetadata

        String osMetadata()
      • langMetadata

        String langMetadata()
      • envMetadata

        String envMetadata()
      • vmMetadata

        String vmMetadata()
      • vendorMetadata

        String vendorMetadata()
      • additionalJvmLanguages

        List<String> additionalJvmLanguages()